Um bom exemplo de como extender as interfaces de IMarker da lib do google maps.
http://sunild.com/progooto/DegrafaMapMarkers/DegrafaMapMarkers.html
Um bom exemplo de como extender as interfaces de IMarker da lib do google maps.
http://sunild.com/progooto/DegrafaMapMarkers/DegrafaMapMarkers.html
To show a popUp as an infoWindow. This way you can show more than one infoWindow at the same time.
var popup:IFlexDisplayObject = PopUpManager.createPopUp(map, infoWindow);
var globalPos:Point = map.localToGlobal(map.fromLatLngToViewport(marker.getLatLng()));
popup.move(globalPos.x - popup.width/2, globalPos.y - popup.height - marker.getDisplayObject().height);
return popup;
Right now, i’m working with Google Maps Flash api. It’s realy amazing what you can do with this framework but i found a Problem:
You can’t add more then one Info Window into the map.
Solution:
Create you own Overlay, extending OverlayBase
See the examples:
http://sunild.com/proto/Earthquakes2/Earthquakes.html
Here an alternative to put Markers using Degrafa:
http://sunild.com/proto/DegrafaMapMarkers/DegrafaMapMarkers.html
Thanks to the Sunil’s blog,
Iuri