Hello,
Another one solved :)
I was able to lock zoom / panning by adding these lines:
map.disableDragging(); //Disable dragging
map.disableDoubleClickZoom(); //Disable dblclick zoom
map.disableScrollWheelZoom(); //Disable mousewheel zoom
I didnt follow Mike's tutorial because it was too complicated.
Thanks xelawho, your help has been very important. Without it i would
be stuck.
On Feb 17, 8:34 pm, xelawho <[email protected]> wrote:
> > How do i remove the other buttons (example, remove Satellyte)?
>
> generally speaking, everything in the API that has an "add" method
> also has a "remove" method
>
> (and this includes zoom controls)
>
> the documentation will help you out if you get stuck.
>
> I don't see anything in your code that tries to restrict the range of
> zoom levels, btw.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.