> or i make some mistakes copying your changes from source code , or there is
> some conflict in my IE page with gears , or i have to put the gears function
> in another place to not override controls and markers..
we're assuming it works on Mac browsers?
I can't replicate your problem (I already have gears installed and
don't really know what should happen after you install gears the first
time then hit refresh. FYI, IE8 finds the location fine without gears,
and when it is forced to use gears on my page, it finds the same
location as W3).
But if it works fine on my page and not on yours then I guess you made
a mistake copying the code.
If that's the case, all you you need to do is copy my entire loadmap
function - from:
function loadmap () {
to
return marker;
}
and it should work fine. From memory, the only change I made to other
parts of your code was to remove this line:
map.setCenter( new GLatLng( coordinate ), 2 );
because it was throwing an error and it was kind of useless anyway -
you set the center later at this line:
map.setCenter(MarkerBounds.getCenter());
and again at this line:
map.setCenter(latLong, zoom);
hope that helps.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.