Damn it - I'm soooo close :(
if (point.lng() ==
jQuery.cookie("current_marker_lng") &&
point.lat() == jQuery.cookie("current_marker_lat")) {
alert("ok, would be
making this marker popup now.. ( for " +
article_title + ")");
marker.openInfoWindowHtml("BLA BLA TEST");
}
This works fine (when the page is first reloaded) .. but once I move
the map, and it re-runs the load_the_map() stuff, it then comes up
with some error:
Error: this.zc is not a function
Source File: http://maps.gstatic.com/intl/fr_ALL/mapfiles/208a/maps2.api/main.js
Line: 913
Any ideas?
I don't have a copy of this script accessable anywhere, but if need
be, I'll set it up on a demo site (its just a sod to do - as it uses
AJAX via a DB, and I would have to set it up on a server which doesn't
have this data)
Cheers
Andy
On Mar 17, 1:39 pm, Andrew Leach <[email protected]>
wrote:
> On Mar 17, 1:35 pm, youradds <[email protected]> wrote:
>
> > Thanks for the replies guys...but how do I use that?
>
> Exactly as the docs indicate: map.getCenter()
>
> Note that that will return a GLatLng object, so if you want
> constituent values, use GLatLng methods: map.getCenter().lat() etc. As
> you have found, the brackets are important.
--
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.