Skip to content

Commit 0023e47

Browse files
committed
docs(markers-attribute): Update links to examples
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.
1 parent 1cfbdf4 commit 0023e47

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

doc/markers-attribute.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ $scope.markers = {
2222
}
2323
```
2424

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).
2626

2727
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.
2828

@@ -69,7 +69,7 @@ marker: {
6969
}
7070
```
7171

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).
7373

7474

7575
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: {
8383
}
8484
```
8585

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).
8787

8888

8989
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.
9090

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).
9292

9393

9494
Markers watches
@@ -99,14 +99,14 @@ Every marker you add to the map is watched for changes by default, so a change i
9999
<leaflet markers="markers" watch-markers="false"></leaflet>
100100
```
101101

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/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).
103103

104104

105105
Markers inside overlays
106106
-----------------------
107107
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.
108108

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).
110110

111111
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.
112112

@@ -128,7 +128,7 @@ markers: {
128128
}
129129
```
130130

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)
132132

133133
Marker clustering with overlays
134134
-------------------------------
@@ -164,4 +164,4 @@ markers: {
164164
},
165165
```
166166

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

Comments
 (0)