Okay, I am having a bit of a problem moving from v2 to v3. I've narrowed
down the error to adding a marker to the marker manager.
I am storing markers that are using coordinates from user values into an
array StartFinishMarkers[].
I create my MarkerManager via:
ZoneStartFinishMM = new MarkerManager(map);
I create the Markers via:
StartMarkerOptions = { "icon": StartPoint, "clickable": true, "draggable":
true, "title": Number };
FinishMarkerOptions = { "icon": FinishPoint, "clickable": true, "draggable":
true, "title": Number };
var StartMarker = new google.maps.Marker(point1, StartMarkerOptions);
var FinishMarker = new google.maps.Marker(point2, FinishMarkerOptions);
Now I have my Marker Manager and Markers created, I used try catches to
ensure there were no errors creating either the marker or the manager.
Now I use the following:
ZoneStartFinishMM.addMarker(ZoneStartFinishMarkers[idStart], 0);
ZoneStartFinishMM.addMarker(ZoneStartFinishMarkers[idFinish], 0);
And it is tossing an error when trying to add the Markers this way.
Any ideas what's going on b/c I am completely stumped here.
Thanks,
Nathan
--
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.