Hello - I have a circular icon(s), dimensions 90x90
I want to set the anchor to the centre of the circle, so have:
var origin = new google.maps.Point(0,0);
var anchor = new google.maps.Point(45,45);
var size= new google.maps.Size(90,90);
new google.maps.Marker(
{ position: latlng,
map: map,
title:data.stations[index].name,
icon: ok ,
anchor: anchor,
origin: origin,
size: size}
)
However, the resultant markers still seem to centre on the default
bottom centre. The page lives here:
http://cyclehire.eu/mobile/
Can anyone see why this is not working?
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.