I have extracted an example based on my live iPhone app.

The following is a basic example of static map implementation which can be
found in the Google Maps Static API. Notice that you are not bound by a
client ID or any keys.
The example shows the normal map with the marker at the centre of the map
with a zoom level of 5. You should be able to reference the method at the
static API.

var normal_url = "
http://maps.google.com/maps/api/staticmap?center=38,144&zoom=5&size=320x300&maptype=normal&markers=color:green%7Clabel:G%7C38,144&sensor=true
";

googleMapLoader_normal = new Loader();

googleMapLoader_normal.load(new URLRequest(normal_url));

addChild(googleMapLoader_normal);

Cheers!



On Thu, Jul 7, 2011 at 6:00 PM, Jinwyp <[email protected]> wrote:

> can you show me how to use the static maps.in AIR on iOS? many thanks
>
> Levko Yaskewych 写道:
> > maps class is not in packager.
> >
> > u have to use static maps.
> >
> > they r 4 free.
> >
> > been there done that.
> >
> > my app which was accepted yesterday in store had to be built this way.
> >
> > u have to wait mate.
> >
> > On Fri, Jun 24, 2011 at 12:41 AM, @lex <[email protected]> wrote:
> >
> > > Emm.. What not included? Google Maps API developed with standart
> > > functions, and they must be included :(
> > > Maybe exists other way, for package .ipa?
> > >
> > > On 23 июн, 20:08, Levko Yaskewych <[email protected]> wrote:
> > > > this is not included in iphone packager in CS5.5 using AIR 2.6, iOS4+
> > > >
> > > > need to wait for future release
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Thu, Jun 23, 2011 at 10:00 PM, @lex <[email protected]> wrote:
> > > > > Hello, I'm developing app for iPhone, use Flash IDE with "AIR for
> > > > > iOS".
> > > > > Do add Google Maps on Stage, and run the application on the
> computer
> > > > > succeeds, - all works.
> > > > > Next, do publishing app to .ipa file, run on iPhone, and Maps don't
> > > > > work! Because event MapEvent.MAP_READY not executed.
> > > > > Please, help, what need do?
> > > >
> > > > > P.S.
> > > > > - use map_1_20.swc
> > > > > - add map to stage:
> > > >
> > > > > map=new Map();
> > > > > map.key=key;
> > > > > map.url=url;
> > > > > map.sensor='true';
> > > >
> > > > > map.addEventListener(MapEvent.MAP_READY,ready);
> > > >
> > > > > addChild(map);
> > > >
> > > > > --
> > > > > 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.
> > >
> > > --
> > > 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.
> > >
> > >
>
> --
> 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.
>
>

-- 
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