Hi,

I am doing a world map that has no need to zoom. It does however have
to be draggable, so must be added to the map object. I am adding
markers at specific lat/lng positions. I have drawn a map of one
country in flash which is a vector shape and would like to overlay the
google map with this vector shape. This is a temp workaround until
Styled maps is supported in flash.

I have imported the shape into a class and am currently placing it as
a marker which is working. It attaches as an overlay over the google
map at the specified lat/lng. This is not ideal as I do not want it to
behave as a marker, but places the class into the map object and moves
correctly when the map is dragged.

All that the shape needs to do is show that the country stands out
from the rest of the google map by placing an overlay where the
country is a different colour and maintain its position on the google
map when the map is dragged.


var countryOptions = new MapOptions()
      countryOptions.icon = new myCountryShape()

var country:Marker = new Marker(new LatLng(.....), countryOptions)

map.addOverlay(country);

Is there a better way of doing this?

Kind regards,

Craig.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en.

Reply via email to