diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index e67aadb..ddabad9 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -12,3 +12,4 @@
Luke Mahé MapLabelOptions object specification
numberThe zIndex of the label. Default is
+ 1000.
+
+
+ backgroundColor
+ stringThe background color. All CSS3 colors are supported. No background unless backgroundColor is specified.
+
+
+
+ backgroundStrokeWeight
+ numberThe background stroke width. Default is
+ 1.
+
+
+ backgroundStrokeColor
+ stringThe background stroke color. All CSS3 colors are supported. Default is
+ #FFFFFF.
+
+
+ borderRadius
+ numberThe border radius on all corners of the background. Default is
+ 0.
+
+ padding
+ numberThe padding on all sides between the text and the background. Default is
+ 0.
diff --git a/examples/maplabel-background.html b/examples/maplabel-background.html new file mode 100644 index 0000000..7b5d840 --- /dev/null +++ b/examples/maplabel-background.html @@ -0,0 +1,88 @@ + + +
+ + +
+ + + + + + + +
+