Class: mymapController

nsVmap.nsMapManager.nsMapModal.MyMap#mymapController

my map controller

Members

mapFileHref{string}

Href for the download map button

oLayersTree{object}

The layers tree

view{ol.View}

The view to apply

Methods

reloadMapFile() experimental

vmap/mapmanager/mapmodal/mymap.js, line 123

Set the map.json file to download in the exportMapButton button

reloadTree() experimental

vmap/mapmanager/mapmodal/mymap.js, line 88

reload the layers tree view

removeLayer(olLayer) experimental

vmap/mapmanager/mapmodal/mymap.js, line 111

Remove a layer from the map and the layers tree

Name Type Description
olLayer ol.layer.Base

Layer to remove