geo:leaflet
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
geo:leaflet [2017/05/10 22:38] – jbpuel | geo:leaflet [2017/06/07 07:35] – jbpuel | ||
---|---|---|---|
Ligne 27: | Ligne 27: | ||
< | < | ||
var Esri_WorldImagery = L.tileLayer(' | var Esri_WorldImagery = L.tileLayer(' | ||
- | attribution: | + | attribution: |
}); | }); | ||
var Esri_WorldTopoMap = L.tileLayer(' | var Esri_WorldTopoMap = L.tileLayer(' | ||
- | attribution: | + | attribution: |
}); | }); | ||
Ligne 40: | Ligne 40: | ||
{ | { | ||
maxZoom: 20, | maxZoom: 20, | ||
- | attribution: | + | attribution: |
- | '< | + | |
- | ' | + | |
id: ' | id: ' | ||
}); | }); | ||
Ligne 211: | Ligne 209: | ||
[43.528436617925763, | [43.528436617925763, | ||
[43.528436617925763, | [43.528436617925763, | ||
- | ]; | + | ]; |
- | var polyline = L.polyline(poly, | + | var polyline = L.polyline(poly, |
var overlayMaps = { | var overlayMaps = { | ||
Ligne 227: | Ligne 225: | ||
var mymap = L.map(' | var mymap = L.map(' | ||
{ | { | ||
- | center: [45.341567,2.350971], | + | center: [45.0,2.3], |
zoom: 7, | zoom: 7, | ||
layers: [carto, | layers: [carto, | ||
}); | }); | ||
- | mymap.addLayer(spots,tracks); | + | mymap.addLayer(spots); |
+ | mymap.addLayer(tracks); | ||
+ | <!-- En 2 fois pour que les 2 soient cochées par défaut --> | ||
L.control.layers(baseMaps, | L.control.layers(baseMaps, | ||
L.control.scale({' | L.control.scale({' | ||
Ligne 238: | Ligne 238: | ||
</ | </ | ||
+ | |||
+ | [[geo: | ||
+ | |||
+ | [[Carto transect]] | ||
+ | |||
+ | [[Carto RI]] | ||
geo/leaflet.txt · Dernière modification : 2017/06/07 07:36 de jbpuel