Skip to content
Snippets Groups Projects
Commit d83816e5 authored by Gaelle.Barris's avatar Gaelle.Barris
Browse files

maj exemple

parent 6cb7c1b5
No related branches found
No related tags found
No related merge requests found
......@@ -203,8 +203,26 @@ function doMap(){
}});
carte.addToolInNamedToolBar(toolsBar,{type: Descartes.Map.DISPLAY_LAYERSTREE_SIMPLE});
carte.addToolInNamedToolBar(toolsBar,{type: Descartes.Map.SHARE_LINK_MAP});
carte.addToolInNamedToolBar(toolsBar,{type: Descartes.Map.GEOLOCATION_SIMPLE});
carte.addToolInNamedToolBar(toolsBar,{type: Descartes.Map.GEOLOCATION_TRACKING});
carte.addToolInNamedToolBar(toolsBar,{type: Descartes.Map.GEOLOCATION_SIMPLE,
args: {
projection: true,
displayProjections: ["EPSG:4326"],
infos: {
accuracy: false,
altitude: false,
altitudeAccuracy: false,
heading: false,
speed: false,
projection: false
}
}});
carte.addToolInNamedToolBar(toolsBar,{type: Descartes.Map.GEOLOCATION_TRACKING,
args: {
projection: true,
displayProjections: ["EPSG:3857","EPSG:4326","EPSG:2154"],
selectedDisplayProjectionIndex:2,
displayInfos: true
}});
carte.addContentManager(
'layersTree',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment