i am now looking for code to be able to add a marker to the map and
all i can find is what is on the page that i linked to above.
the code provided on that page call to a function
(addOverlay(markerA);) that does not exist nor has it been provided.
private function onMapReady(event:Event):void {
setCenter(new LatLng(37.4419, -122.1419), 13,
MapType.NORMAL_MAP_TYPE);
var markerA:Marker = new Marker(
new LatLng(48.858842, 2.346997),
new MarkerOptions({
strokeStyle: new StrokeStyle({color:
0x987654}),
fillStyle: new FillStyle({color: 0x223344,
alpha: 0.8}),
radius: 12,
hasShadow: true
}));
addOverlay(markerA);
}
where do i find the full source code to get the marker working?
pleaseplease advise?
many thanks
On Oct 9, 3:49 pm, Thanweb <[EMAIL PROTECTED]> wrote:
> What would be helpful if google provided a library of useful code for
> Flash to implement things to the maps. like markers and zoom controls
> etc.
>
> i have found references from these
> pageshttp://code.google.com/apis/maps/documentation/flash/overlays.html#Ma...
> but none of the code is written for AS3 and is impossible to know what
> to do with it as im guessing this code is not for the flash version.
>
> the code i tried from these pages i was told was incorrect and had to
> re write for flash. like the functions needed to be renamed from
> private function to just function etc...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---