I am not overly conversant with Action Script and need help in
changing the default colors of the map to monochrome. (The standard
colors don't really look all the great with my color scheme). would
like to know how I would modify my current AS to do this:
______________________________________________________
import com.google.maps.LatLng;
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.controls.NavigationControl;
import com.google.maps.overlays.*;
import com.google.maps.MapType;
var map:Map = new Map();
map.key = "your_api_key";
map.setSize(new Point(stage.stageWidth, stage.stageHeight));
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);
function onMapReady(event:Event):void {
map.addControl(new NavigationControl());
map.setCenter(new LatLng(43.78218705496583,-79.35055732727051), 12,
MapType.NORMAL_MAP_TYPE);
var m:Marker = new Marker(new LatLng(43.770505,-79.38283),
new MarkerOptions({icon:new marker()}));
var n:Marker = new Marker(new
LatLng(43.78382917496964,-79.36089992523193),
new MarkerOptions({
strokeStyle: {
color: 0x505050
},
fillStyle: {
color: 0xCE0000,
alpha: 0.8
},
label: "A",
labelFormat: {
bold: true
}
}));
map.addOverlay(m);map.addOverlay(n);
}
_________________________________________________________________________
Any help would be greatly appreciated!
Thanks
--
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.