You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the markers-angular-template-example.html link was stale
because:
* eaa051c (Removed old examples, 2015-04-17, tombatossals#697) removed the
unprefixed version.
* 2c40797 (new versions of examples, 2015-04-17, tombatossals#697) added an 0514
prefix.
* 726d37c (fix(examples) Fix ESRI legend examples, 2015-09-18, tombatossals#949)
changed the prefix to 0515.
The only example that did not retain its name across the eaa051c /
2c40797 transition was markers-update-example.html. I'm assuming
that the new version of that example is
0504-markers-popup-example.html, because it is the only new example
HTML which contains leafletDirectiveMarker.popupopen.
This commit just updates the links. I have not checked the
surrounding text to see if it is also stale.
Copy file name to clipboardExpand all lines: doc/markers-attribute.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ $scope.markers = {
22
22
}
23
23
```
24
24
25
-
Look at [this first example](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-simple-example.html).
25
+
Look at [this first example](http://tombatossals.github.io/angular-leaflet-directive/examples/0500-markers-simple-example.html).
26
26
27
27
The _markers_ definition is composed by a group of named objects (markers) every one of them with a set of attributes that we are going to describe below. When we associate that object with our _leaflet-directive_ the bidirectional relation will start, and the markers defined will be will be shown on the map.
28
28
@@ -69,7 +69,7 @@ marker: {
69
69
}
70
70
```
71
71
72
-
We can see an example using all this [here](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-update-example.html).
72
+
We can see an example using all this [here](http://tombatossals.github.io/angular-leaflet-directive/examples/0504-markers-popup-example.html).
73
73
74
74
75
75
There are a special type of property called _label_ which uses the [Leaflet.label plugin ](https://github.com/Leaflet/Leaflet.label) to show a fixed special label on the marker, or on hovering it. This is the marker property we need to define to use it:
@@ -83,12 +83,12 @@ label: {
83
83
}
84
84
```
85
85
86
-
You can see an example of this special label [here](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-label-example.html).
86
+
You can see an example of this special label [here](http://tombatossals.github.io/angular-leaflet-directive/examples/0505-markers-label-example.html).
87
87
88
88
89
89
The **message** property of a marker can contain an Angular template. This is supported for labels also. You can control the scope used to compile this message with the **getMessageScope** property. When defined, it must be a function that returns the wanted scope. You can disable the angular compilation process by specifying compileMessage: false. By default compilation is activated, including if not specified.
90
90
91
-
You can see an example of Angular content in messages [here](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-angular-template-example.html).
91
+
You can see an example of Angular content in messages [here](http://tombatossals.github.io/angular-leaflet-directive/examples/0515-markers-angular-template-example.html).
92
92
93
93
94
94
Markers watches
@@ -99,14 +99,14 @@ Every marker you add to the map is watched for changes by default, so a change i
By default the markers will be watched, so we can change its properties dynamically, like in [this demo](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-update-example.html).
102
+
By default the markers will be watched, so we can change its properties dynamically, like in [this demo](http://tombatossals.github.io/angular-leaflet-directive/examples/0504-markers-popup-example.html).
103
103
104
104
105
105
Markers inside overlays
106
106
-----------------------
107
107
We can group the markers inside a layer overlay, so the layer switch selector control will appear and we could activate/deactivate overlays with their markers.
108
108
109
-
Let's see an example of this feature on [this demo](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-groups-example.html).
109
+
Let's see an example of this feature on [this demo](http://tombatossals.github.io/angular-leaflet-directive/examples/0506-markers-groups-example.html).
110
110
111
111
This special rendering can be accomplished defining overlays of type _group_ and with _name_ property, and the markers will need a special property _layer_ with the name of the overlay we've previously defined.
112
112
@@ -128,7 +128,7 @@ markers: {
128
128
}
129
129
```
130
130
131
-
You can see an example running this [here](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-clustering-without-overlays-example.html)
131
+
You can see an example running this [here](http://tombatossals.github.io/angular-leaflet-directive/examples/0510-markers-clustering-without-overlays-example.html)
132
132
133
133
Marker clustering with overlays
134
134
-------------------------------
@@ -164,4 +164,4 @@ markers: {
164
164
},
165
165
```
166
166
167
-
You can see the complete example [here](http://tombatossals.github.io/angular-leaflet-directive/examples/markers-clustering-example.html)
167
+
You can see the complete example [here](http://tombatossals.github.io/angular-leaflet-directive/examples/0509-markers-clustering-example.html)
0 commit comments