Hi andrew, Thanxs buddy, it's working now. Thankz for your ASAP reply.
On May 20, 3:44 pm, Andrew Leach <[email protected]> wrote: > On May 20, 11:30 am, Nilesh <[email protected]> wrote: > > > hi, > > I am new to Google map api and map behaviour development, my > > issue is whenever i double click on map it zoom the map. I want to put > > marker on double click so, i want to disable double click zoom on map. > > I have tried alot to disable zoom. But it always zoom when i am double > > click on it. Following is the snippet of code which i am using. Please > > help ASAP. > > (a) Please don't post code. Please post a > link.http://groups.google.com/group/Google-Maps-API/web/suggested-posting-... > (b) Please don't ask for help > ASAP.http://www.catb.org/%7Eesr/faqs/smart-questions.html#urgent > (c) This comment > map.setUIToDefault(); // to display map, satellite, hybrid, > terrain and navigation bar > should say > map.setUIToDefault(); // to display map, satellite, hybrid, > terrain, navigation bar and zoom behaviour etc > > Setting the UI to default resets the zoom behaviour. The order should > be set the centre, set the default UI and then make changes like > disable double-clicks. > > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
