Hi Wes,

This might be the same issue I just posted about here:

http://groups.google.com/group/google-maps-api-for-flash/browse_thread/thread/72bd5d5687f7a552

When compiling with mxmlc, are you linking map_flex_1_9.swc or
map_1_9.swc?

Saxon

On May 13, 7:13 am, wes <[email protected]> wrote:
> I've been rummaging around a bit. The following code:
>
> import com.google.maps.LatLng;
> import com.google.maps.Map;
> import com.google.maps.MapEvent;
> import com.google.maps.MapType;
>
> var map:Map = new Map();
> map.key = "*****";
> map.setSize(new Point(stage.stageWidth, stage.stageHeight));
> map.addEventListener(MapEvent.MAP_READY, onMapReady);
> this.addChild(map);
>
> function onMapReady(event:Event):void {
>   map.setCenter(new LatLng(40.9689841,-111.8793384), 18,
> MapType.SATELLITE_MAP_TYPE);
>
> }
>
> Works peachy when published from CS4. However:
>
> package com.temp {
>         import flash.display.Sprite;
>         import flash.events.Event;
>         import flash.geom.Point;
>
>         import com.google.maps.LatLng;
>         import com.google.maps.Map;
>         import com.google.maps.MapEvent;
>         import com.google.maps.MapType;
>
>         [SWF(width="390", height="300", backgroundColor="0x000000",
> frameRate="30")]
>         public class OverheadMap extends Sprite {
>
>                 public var map:Map = new Map;
>
>                 public function OverheadMap()
>                 {
>                         map.key = "******";
>                         map.setSize(new Point(stage.stageWidth, 
> stage.stageHeight));
>                         map.addEventListener(MapEvent.MAP_READY, onMapReady);
>                         addChild(map);
>                 }
>
>                 public function onMapReady(event:MapEvent):void
>                 {
>                         map.setCenter(new LatLng(40.9689841,-111.8793384), 18,
> MapType.SATELLITE_MAP_TYPE);
>                 }
>         }
>
> }
>
> Produces a blank map when compiled with mxmlc. The components are
> making the proper requests to retrieve the tiles, but nothing ever
> shows up. I can't nail down what the bug might be, since this same
> code was working at 9:00AM MST.
>
> On May 12, 3:53 pm, wes <[email protected]> wrote:
>
>
>
> > I've run into an issue today where a map I was working on went
> > completely blank, as if it were missing the requested tiles. I thought
> > at first my IP had been blocked, but I see the expected imagery coming
> > through from khm(x).google.com in Charles. Everything worked perfectly
> > a few hours ago--I even tried reverting the swf to a version from this
> > morning to no avail. Any ideas out there?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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