yeh i need to make markers a short distance apart prob more like 15 meters
apart but i cant seem to get GetPointsAtDistance to work so im a bit stuck
here is what i have
my polyline
var roadpath = new google.maps.Polyline({
path:latlng,
strokeColor: "#FF0000",
strokeOpacity: 1.0,
strokeWeight: 2
});
roadpath.setMap(map);
var pathmark = roadpath.GetPointsAtDistance(15.00);
then i need to use the value of pathmark to place my markers right?
however my script stops when it hits var pathmark =
roadpath.GetPointsAtDistance(15.00); and im not sure why any suggestion?
--
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.