Recent activity
Subscribe to this feed
John Williams marked one of RandomEtc's replies in Modest Maps as useful. RandomEtc replied to the question "Adding markers in Flex".
John Williams replied on December 10, 2008 15:27 to the question "Adding markers in Flex" in Modest Maps:
Aha! There's my problem. Just using a sprite instead of Flex piece worked. Rather than try to get a Flex peice to work, I think I'll just put some logic in the sprite.
An earlier response had a lot of stuff about having to write and attach your own marker-clip, etc, which no longer seems to be the case and makes me happy.
I don't know how much I can contribute to the Flex package (still getting my feet wet with Flex) but if I can contribute something I will!
John Williams asked a question in Modest Maps on December 09, 2008 21:58:
Adding markers in FlexI'm working with the Subversion Trunk (r 719) and Flex 3 / AS3, trying to implement markers on a custom map. My markers aren't showing up, though. If I trace out the coordinate of the marker, it claims to be at position (0,-0.05) (that's absolute x,y coordinates, not Lat/Long).
I've looked through the Flex resources here and some of the answers are very old, others I can almost make sense out of.
So what should I be thinking about for attaching markers to a map in Flex? It doesn't appear to be as simple as:
var tmarker:MapMarker = new MapMarker();
tmarker.name="marker01";
campusMap.map.putMarker(new Location(1.2,1.99),tmarker);
trace(":::" + " " + tmarker.x + "," + tmarker.y);
(MapMarker is my own component, based on mx:Button)
Loading Profile...
