diff --git a/CHANGES.md b/CHANGES.md index d28d073..580e412 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,7 @@ v0.2.0 ====== * changed dependency from leaflet_bower to leaflet (which is available on bower, too) +* added support for leaflet-scale-control v0.1.1 ====== @@ -12,14 +13,14 @@ v0.1.0 r0.0.2 ====== -* added support for nhnb-leaflet-geolocation -* added support for nhnb-leaflet-tilelayer-wms +* added support for leaflet-geolocation +* added support for leaflet-tilelayer-wms * added demonstration of data binding in a custom component * chsanged property names to camelCase (attributes are case insensitive) r0.0.1 ====== -* added support for nhnb-leaflet-divicon +* added support for leaflet-divicon * fixed events from markers * added documentation for events diff --git a/README.md b/README.md index 66e3d36..32aeefc 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ At this time the following elements are defined: * leaflet-marker (L.marker) * leaflet-icon (L.icon) * leaflet-divicon (L.divicon) (since 0.0.1) +* leaflet-scale-control (L.control.scale) (since 0.2.0) * leaflet-tilelayer (L.tileLayer) * leaflet-tilelayer-wms (L.tileLayer.wms) (since 0.0.2) diff --git a/demo-advanced.html b/demo-advanced.html index f3e8631..277c7b6 100644 --- a/demo-advanced.html +++ b/demo-advanced.html @@ -105,6 +105,7 @@
A scale control can be added and configured using <leaflet-scale-control> By default it displays both +metric and imperial units.
+ +
+<leaflet-map latitude="51.505" longitude="-0.09" zoom="13">
+
+ <leaflet-marker latitude="51.5" longitude="-0.10" title="Transparent" opacity="0.6">
+ </leaflet-marker>
+
+ <leaflet-marker latitude="51.5" longitude="-0.09" title="Popup Demo">
+ <b>Bold</b>
+ <p>Text</p>
+ </leaflet-marker>
+
+</leaflet-map>
+
+
+
+
+
+
+
+
+
Data binding can be used to create markers based on dynamic information, e. g. from the rows of a spreadsheet.
diff --git a/leaflet-map.html b/leaflet-map.html
index f2c9e1f..b396297 100644
--- a/leaflet-map.html
+++ b/leaflet-map.html
@@ -660,6 +660,104 @@
+
+
+