[mapguide-users] BASEMAPSWTICHER

GordonL gordon.luckett at arrowgeomatics.com
Wed Nov 21 11:21:14 PST 2012


Hi All,
does anyone know a shortcut (in javascript) to programmatically enable the
"NONE" in the BASEMAPSWITCHER widget?  

I can manually get the oLMap and to turn off all the basemap layers easily:

*map.setBaseLayer(mapWidget.aMaps[0].oLayerOL, false);*

but then the BASEMAPSWITCHER still shows something like "Google Maps Street"
or "OpenStreetMap Street" and not "NONE" since this manual technique does
not fire the jxLib menu.

Any ideas how to fire the jxLib menu to show "NONE" in the BASEMAPSWITCHER
widget?

gordon




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/BASEMAPSWTICHER-tp5018001.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list