Subscribe

  • Subscribe  

Does Google Map API for Flash Really Work?

Posted by Charles | May 21, 2008 .

Update: Got it works! I over simplified the code. To make the map object displayed within the UIComponent (in Flex), you have to implement the resize event. as:

public function onResized(event:Event):void {
  map.setSize(new Point(mapContainer.width, mapContainer.height));
}

man!

———————–

So far it doesn’t work for me. Anybody?

The Google Map API for Flash was released last week. I’ve been trying to use it to do something but so far I can’t get the base map shown.

No, it’s not the API Key issue. If put in a wrong API Key, the API will display message complains about it.

No, it’s not because I run it on local. I put it up on this site but it shows nothing.

No, I didn’t do anything fancy. Just couple of lines code to show the base map. It didn’t show.

Yes, I searched. Except the demos on Google’s site I haven’t run into any third party code or demo.

So, could anybody try it and tell me it works? Or, tell me it works because you’ve tried. Or, it just doesn’t work yet.

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Related Posts

6 Comments so far
  1. Ben Clinkinbeard  May 21, 2008 9:35 pm

    Its Flex but here is a working 3rd party demo: http://www.insideria.com/2008/05/google-releases-as3-maps-api.html

  2. PaulH  May 21, 2008 9:37 pm

    uh, it works for us. can you post the couple of lines code to show the base map?

  3. Flo  May 22, 2008 4:40 am

    Hi,
    you can find some examples here:
    http://www.video-flash.de/index/endlich-google-maps-as3-api-fur-flex/

    There’s just one difference: If you run the examples on local you should see “Debug mode” over the map.

    Best regards

  4. Dan Vega  May 22, 2008 6:43 am

    This example worked fine for me, just make sure you download the swc and drop it into the libs folder. Also if you are running it locally apply for a dev key on localhost and enter your key in map.key= “”.

  5. Chris Griffith  May 22, 2008 7:52 am

    I’ve gotten it work. I’m still having some issues with the iconOffset for a custom marker. Here is link to a ‘work in progress’
    http://atomicarchive.com/Calc/EffectsSim.html

    Chris Griffith

  6. Mário Santos  May 22, 2008 10:03 am

    So…having some problems?? :)

    it’s not easy to found some demos, but i found one on portuguese blog, take a look on it (built on flex) width source code availiable.

    http://www.vedovelli.com.br/?p=119

    hope it helps.

<

Error. Page cannot be displayed. Please contact your service provider for more details. (8)


Direct TV Offers - usdirect has the best directtv deals