In v3 you get the projection by calling getProjection on the Map.

http://code.google.com/apis/maps/documentation/javascript/reference.html#Map

Have you had a look at v3 MarkerClusterer or MarkerManager? ClusterMarker is
v2 only.

Chris

On Mon, Jan 10, 2011 at 7:48 PM, Abhi <[email protected]> wrote:

> I am trying to migrate google maps api from v2 to v3, but i am getting
> problem with the getProjection() method.
>
> getProjection() method in clusterMarker.js (version 1.3.2) is getting
> null value, eventhough the map and mapTypeId has been set.
> I have tried replacing the getCurrentMapType().getProjection() method
> of v2 with
> this._map.mapTypes[this._map.getMapTypeId()].getProjection(), but i am
> getting error message
> 'this._map.mapTypes[this._map.getMapTypeId()].getProjection() is null
> or not an object '.
> Kindly suggest me a solution to rectify this probelm.
>
> --
> 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]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

-- 
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.

Reply via email to