Skip to content

Commit 64f6872

Browse files
committed
more rework
1 parent ff58410 commit 64f6872

File tree

125 files changed

+1023
-903
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+1023
-903
lines changed

examples/0101-basic-lf-center-example.html

Lines changed: 0 additions & 37 deletions
This file was deleted.

examples/0104-basic-custom-parameters-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</script>
3131
</head>
3232
<body ng-controller="BasicCustomParametersController">
33-
<leaflet lf-center="london" defaults="defaults" width="100%" height="480px"></leaflet>
33+
<leaflet lf-center="london" lf-defaults="defaults" width="100%" height="480px"></leaflet>
3434
<h1>Using custom default parameters</h1>
3535
</body>
3636
</html>

examples/0105-basic-bounds-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</script>
2626
</head>
2727
<body ng-controller="BasicBoundsController">
28-
<leaflet bounds="bounds" lf-center="center" width="100%" height="480px"></leaflet>
28+
<leaflet lf-bounds="bounds" lf-center="center" width="100%" height="480px"></leaflet>
2929
<h1>Map bounds example</h1>
3030
<h2>South west</h2>
3131
<form>

examples/0106-basic-maxbounds-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
</script>
5151
</head>
5252
<body ng-controller="BasicMaxBoundsController">
53-
<leaflet maxbounds="maxbounds" width="100%" height="480px"></leaflet>
53+
<leaflet lf-maxbounds="maxbounds" width="100%" height="480px"></leaflet>
5454
<h1>Setting MaxBounds in a map</h1>
5555
<p>With <strong>maxbounds</strong> the map visualization is limited to a defined zone. Try to pan on these regions to see how it works.</p>
5656
<form>

examples/0110-basic-map-without-animations-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</script>
3232
</head>
3333
<body ng-controller="BasicMapWithoutAnimationsController">
34-
<leaflet lf-center="london" defaults="defaults" markers="markers" width="100%" height="480px"></leaflet>
34+
<leaflet lf-center="london" lf-defaults="defaults" lf-markers="markers" width="100%" height="480px"></leaflet>
3535
<h1>Map with disabled animations example</h1>
3636
</body>
3737
</html>

examples/0111-basic-legend-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
</script>
4848
</head>
4949
<body ng-controller="BasicLegendController">
50-
<leaflet lf-center="london" legend="legend" defaults="defaults" width="100%" height="480px"></leaflet>
50+
<leaflet lf-center="london" lf-legend="legend" lf-defaults="defaults" width="100%" height="480px"></leaflet>
5151
<h1>Legend example</h1>
5252
</body>
5353
</html>

examples/0112-basic-maxbounds-pad-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</head>
5656

5757
<body ng-controller="BasicMaxBoundsPadController">
58-
<leaflet lf-center="center" layers="layers" markers="markers" maxbounds="maxbounds" width="100%" height="480px"></leaflet>
58+
<leaflet lf-center="center" lf-layers="layers" lf-markers="markers" lf-maxbounds="maxbounds" width="100%" height="480px"></leaflet>
5959
<h1>Extend Maxbounds with Pad</h1>
6060
<p>You can extend maxbounds with a pad property. <a href=http://leafletjs.com/reference.html#latlngbounds-pad>Pad</a> is a percentage by which the latLngBounds will be extended.</p>
6161
<pre ng-bind="maxbounds | json"></pre>

examples/0113-basic-geojson-simple-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</script>
4141
</head>
4242
<body ng-controller="GeoJSONController">
43-
<leaflet lf-center="japan" geojson="geojson" defaults="defaults" width="100%" height="480px"></leaflet>
43+
<leaflet lf-center="japan" lf-geojson="geojson" lf-defaults="defaults" width="100%" height="480px"></leaflet>
4444
<h1>Simple GeoJSON example</h1>
4545
</body>
4646
</html>

examples/0114-basic-geojson-center-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
</script>
5757
</head>
5858
<body ng-controller="GeoJSONCenterController">
59-
<leaflet lf-center="japan" geojson="geojson" defaults="defaults" width="100%" height="480px"></leaflet>
59+
<leaflet lf-center="japan" lf-geojson="geojson" lf-defaults="defaults" width="100%" height="480px"></leaflet>
6060
<h1>Center to GeoJSON example</h1>
6161
<input type="button" value="Click to center" ng-click="centerJSON()" />
6262
</body>

examples/0118-basic-double-map-events-example.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@
8181
<h1>Different map events broadcasting</h1>
8282
<p>We can filter which leaflet events we propagate upwars using the event-broadcast directive property, let's see how it works:</p>
8383
<h3>This map propagates all events</h3>
84-
<leaflet event-broadcast="events" lf-center="london" markers="markers" width="100%" height="320px" defaults="defaults"></leaflet>
84+
<leaflet lf-events="events" lf-center="london" lf-markers="markers" width="100%" height="320px" lf-defaults="defaults"></leaflet>
8585
<p>Event: <strong ng-bind="eventDetected"></strong></p>
8686
<h3>This map propagates the "click" and "dblclick" events</h3>
87-
<leaflet lf-center="spain" event-broadcast="events2" markers="markers2" width="100%" height="320px"></leaflet>
87+
<leaflet lf-center="spain" lf-events="events2" lf-markers="markers2" width="100%" height="320px"></leaflet>
8888
<p>Event: <strong ng-bind="eventDetected2"></strong></p>
8989
</body>
9090
</html>

0 commit comments

Comments
 (0)