markers
I'm not following all of the different markers. There seems to be a MarkerClip, a Marker, and a MarkerSet where only the latter two seem related.
It seems that MarkerClip is used by Map while the Marker and MarkerSet is used by the TileGrid. But I'm not sure if the TIleGrid markers are ever used. The former seems to be visual markers and the latter just seem to be data structures, but I'm not sure.
I'm referring to the AS3 source. Can someone shed some light? There seems to be a lot of marker work going on in the TileGrid but if the markers are never used then it seems wasteful.
It seems that MarkerClip is used by Map while the Marker and MarkerSet is used by the TileGrid. But I'm not sure if the TIleGrid markers are ever used. The former seems to be visual markers and the latter just seem to be data structures, but I'm not sure.
I'm referring to the AS3 source. Can someone shed some light? There seems to be a lot of marker work going on in the TileGrid but if the markers are never used then it seems wasteful.
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?You only need MarkerClip (the Marker and MarkerSet classes should be removed soon as they aren't used in the as3 version, sorry about that... it's not that wasteful though, since basically nothing happens to markers in TileGrid any more).
The map has one markerclip already and you can add more if you want. You add markers to the map by calling map.putMarker with a location and any DisplayObject - you add markers to a markerclip the same way (um, well with attachMarker and maybe the arguments are reversed), and then add the MarkerClip as a child of the map.
This is something we're cleaning up for a future release - your feedback would be most welcome!
-
Inappropriate?Thanks for the quick response RandomEtc ... it's good to know I wasn't overlooking something. I'll check for updates as they are made.
As for providing additional markerclip layers what you recommend is what I was planning on doing. Glad to have the confirmation.
Thanks again!
-
Inappropriate?I gave a short presentation on ModestMaps that includes source code and examples. You can view the information here:
http://www.dreamingwell.com/articles/...
Loading Profile...



EMPLOYEE
