Wasn't it TruthHunter who wrote:
>Another question I have is, can a GMarkerManager be used to manage
>custom overlays, or do they have to be GMarkers? It doesn't seem like
>it, but again the answer's not clear.
GMarkerManager generally can't, but the Open Source MarkerManager can,
as long as the custom overlay has a .getPoint() method that returns its
location.
The difference with GMarkerManager is that it uses the internal symbol
for .getPoint() rather than the exposed symbol. This means that it's
possible to write custom overlays that work with a specific version of
the API, or with all known existing versions of the API, by creating
methods with the internal symbol names. However, we don't know what the
internal symbol is going to be in future releases.
E.g. My ELabels overlay works with MarkerManager. Before MarkerManager
came out, I added GMarkerManager support for API v2.67 to v2.75. See:
http://econym.org.uk/gmap/elabel.js
The methods .U, .V, .W, .X, .Y and .Z are the API internal API symbols
for .getPoint in those API versions.
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---