You need to help others to help you
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
On Wed, Sep 24, 2008 at 12:59 PM, zaida <[EMAIL PROTECTED]> wrote:
>
> I have a problem with Google Maps in IE, the center of map show's
> correctly in Firefox,but not in Internet Explorer.
> The code is:
>
> <div id='map' style='width:350px;height:350px'></div>
> <script type='text/javascript'>
> var map = null;
> var geocoder = null;
> map = new GMap2(document.getElementById('map'));
> geocoder = new GClientGeocoder();
> map.addControl(new GSmallMapControl());
> map.setCenter(new GLatLng(41.609877,2.27858), 8);
> map.setMapType(G_NORMAL_MAP);
> </script>
>
> I don't know why,but in Internet Explorer doesn't work. It show's the
> center of map in the sea, not in Barcelona. Help me, please
>
> Thanks!
>
> >
>
--
Barry
- www.nearby.org.uk - www.geograph.org.uk -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---