Thanks. I will look into it further.
On Aug 7, 10:11 am, Andrew Leach <[email protected]>
wrote:
> On Aug 7, 3:56 pm, Erik <[email protected]> wrote:
>
> >http://wysors.dci.wyo.gov/sor/jsp/sor_map_display.jsp?idx=1474&sz=1280
>
> > I don't understand how this just stopped working. Anybody have any
> > ideas.
>
> v=2 has just been upgraded to 2.164.
>
> The code stops when it attempts to add the GScaleControl(). It's
> probably because the scale of the map depends on the latitude of its
> centre and at the time you add the control the map isn't centred.
>
> Centring the map has to happen as early as possible -- a good point in
> the code is as soon as it's created and before doing *anything* else.
>
> Your code still calls v=1, but that was turned off a couple of years
> ago. You really should upgrade your code to v2 standards: see the
> upgrade
> guidehttp://code.google.com/apis/maps/documentation/index.html#Upgrading_v1
>
> > Hopefully I have followed the proper posting guidelines.
>
> Yes!! Thank you :-)
>
> 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
-~----------~----~----~----~------~----~------~--~---