Yahoo! Map custom markers in Flash CS.3

I already posted a small tutorial on how to implement a Yahoo! map into your Flash Actionscript project, if you did not read it check it here.

In this post i will show you briefly on how you can change the standard map marker into any custom marker. Basically we can just send a movieclip to the map marker manager to attach as marker.

Standard Marker

Standard Marker

Below is the Actionscript code you can use to achieve a custom marker , this is just a movieclip that is attached to the SimpleMarker and can be used to make the map more interactive by example including buttons or other components inside this movieclip …

Custom Marker Clip

Custom Marker Clip with linkage name : markerClip

afbeelding-6

Following the code above, the outcome would be something like this , but than with your custom image as marker

Final Outcome

Final Outcome

2 comments so far

  1. vilebody on

    cool man :) nice tutorial

  2. desingz on

    Simple but usable in my point of view :D


Leave a reply