Wasn't it Rajasekhar Veernapu who wrote: >I used that google.load('maps',"2.0")
In that case you can't have these two lines next to each other function mapZoomControl() {} mapZoomControl.prototype = new GControl(); The first should probably be global, but the second one has to be local to your callback function, so that GControl() doesn't get called until after Goole Maps has loaded. function mapZoomControl() {} function initialize() { mapZoomControl.prototype = new GControl(); var map = new GMap2(...); } google.load("maps", "2"); google.setOnLoadCallback(initialize); Note also that the jsapi loading technique was introduced after v2.73, and they may possibly not play well together. You certainly won't be able to refer to the "google.maps" namespace from within Google Maps 2.73. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---