Greets.

I set up a simple google maps and put a simple

map.addControl(new MapTypeControl());

in the code but the result is 3 buttons with no text. Can you think of
a reason why that would happen?

Here's the whole code I'm using

import com.google.maps.LatLng;
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.MapType;
import com.google.maps.LatLngBounds;
import com.google.maps.MapMouseEvent;
import com.google.maps.controls.MapTypeControl;
import com.google.maps.controls.MapTypeControlOptions;
import com.google.maps.InfoWindowOptions;

var map:Map = new Map();
map.key = "...";
map.setSize(new Point(450, 250));
map.x = -50;
map.y = 40;
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);

function onMapReady(event:Event):void {
  map.setCenter(new LatLng (..., ...), 15, MapType.NORMAL_MAP_TYPE);

  map.enableScrollWheelZoom();
  map.removeMapType(MapType.PHYSICAL_MAP_TYPE);

  map.addControl(new MapTypeControl());
  map.openInfoWindow(new LatLng (..., ...),
  new InfoWindowOptions({contentHTML: "<img src=\"http://...\"; /><br /
><br /><br /><br /><br /><br />"}));
}

Thank you.
Mori
--~--~---------~--~----~------------~-------~--~----~
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