First, wishes for a great new year !
Anyway, I am trying to embed a map in my web page, and I want to let
the user have an option of whether to have a zoom control or not. And
if so, whether the choice is long-zoom or the short-zoom. I am using
My question is, how do I remove the control? I code
myMap.removeZoomControl() but nothing seems to happen? Do I need to
refresh the page? Or redraw the map?
control check box, I call a function that alternates between
myMap.removeZoomeControl() and one of myMap.addZoomShort() and
myMap.addZoomLong() depending on the chosen value of a pair of radio
buttons. But even the alternating between the zoomLong and zoomShort
() doesn't seem to work.)
Could someone please help? Thanks a lot !