Thanks for the reply Barry. I'm not quite sure I completely understand - do
you mean something like this (which doesn't appear to work)?:
overlay = new google.maps.OverlayView();
overlay.draw = function() {};
overlay.setMap(map);
var x = (200 - divwidth) / 2;
var y = 50;
var latLng = overlay.getProjection().fromDivPixelToLatLng(new
google.maps.Point(x,y));
If I place a marker at that latlng, it doesn't seem to work.
Is there some kind of 'wait' needed before the overlay can be used? And am I
usiing google.maps.Point in the right way?
Thanks again
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/BipylqUZNbsJ.
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-js-api-v3?hl=en.