Google Maps Smoothing
So I've added a simple google map and all seemed good until I resized the swf, then all the text gets pretty rough.
I run the HTML Publish dimensions settings at 100% so that the site looks exactly the same no matter what the viewers screen resolution is.
I thought applying smoothing would solve the problem (I still think it will), but I can't seem to figure out where to put the code. I hoped I could apply it to my_map but it just gives me the 1119: Access of possibley indefined ... Error.
Any thoughts would be appreciated.
Here's my code ...
==============
// Import google maps,overlays, and controls.
import com.google.maps.*;
import com.google.maps.overlays.*;
import com.google.maps.controls.*;
// Declare a google maps variable. I called it gomap.
var my_map:Map = new Map()
my_map.key = "my_key";
addChild( my_map);
//Set map size.
my_map.setSize(new Point(550, 400));
// Add listener to trigger the MapEvent function.
my_map.addEventListener(MapEvent.MAP_READY, onMapReady);
// Function to add controls and other variables
function onMapReady(event:Event):void
{
//enabled Scroll Wheel
my_map.enableScrollWheelZoom();
// position the navigation control
var nav_position:ControlPosition = new ControlPosition(ControlPosition.ANCHOR_TOP_LEFT, 40,40);
var myNavPos:NavigationControl = new NavigationControl();
myNavPos.setControlPosition(nav_position);
my_map.addControl(myNavPos);
// add the default map view control buttons at default positions...
my_map.addControl(new MapTypeControl());
my_map.addControl(new OverviewMapControl());
//center the map
my_map.setCenter(new LatLng(34.051522, -118.247223),10,MapType.NORMAL_MAP_TYPE);
}
==============
Thanks,
Ter