I currently developing a site for a telecommunications company, I m
using google api to show all the installed antennas of the company, so
far on localohost everything is fine using the below code..
import com.google.maps.*;
import com.google.maps.overlays.*;
import com.google.maps.controls.*;
var map:Map = new Map();
map.key = "ABQIAAAAocApWsMTm--fQKyzLWUXRBT2yXp_ZAY8_ufC3CFXhHIE1NvwkxQ-
sAr9WU2sMCHdPa_gjsV8TP4V7g";
map.setSize(new Point(stage.stageWidth, stage.stageHeight));
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);
function onMapReady(e:Event):void
{
map.addControl(new ZoomControl());
map.addControl(new MapTypeControl());
map.setCenter(new LatLng(40.254722, 22.4925), 12,
MapType.PHYSICAL_MAP_TYPE);
var m:Marker = new Marker(new LatLng(40.254722, 22.4925),
new MarkerOptions({icon:new marker()}));
map.addOverlay(m);
}
but only for one antenna (marker) is playing!!!
How can i add more markers with details on click....I want to put the
markers manually,,that is I will specify the coordinates on the source
code like above,,,
Please help!!!
I m really new bee on the google api and I find very interesting and
helpfull!!!!!!
Thank you in advance!!
Kyriakos Stamatopoulos
--
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.