John

I did as you suggested on both pages which are using this feature. The
small map page does not seem to have the issue with the detailed maps
popping up (it is a full aspx page without a master page). The problem
now is only in the larger page (first link submitted).  Again, this is
an aspx page with only a content placeholder from the master page. All
the code for the map resides inside the content placeholder. The
button is an web control which uses the script manager to register a
client script block which actually invokes the JS. I even created a
different masterpage for it using the strict dtd (the original master
page uses the transitional dtd for the doctype).

I moved the update panel around in the code and actually got rid of
the JS error I had, but the detailed map still does not show up. :(

Other thoughts?

Thanks again.
---------------------------------------------------
maps.huge.info [Maps API Guru] wrote:
> I suggest you add this to the top of the load function:
>
> if (GBrowserIsCompatible()) {
>  map = new GMap2(document.getElementById('map'));
>  map.setCenter(<some point>, <some zoom>) ;
>
>  and remove it from the rest of the script. Doing this over and over
> again as you have in your script is wasteful of resources as this
> causes the map to be reinitialized each time. No need for doing it
> more than once. You have the map as a global already, might as well
> use it.
>
> -John Coryat
>
> http://maps.huge.info
>
> http://www.usnaviguide.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to