

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.
If you would like to make a comment, please fill out the form below.
| Cox bundle ||| Verizon High Speed Internet ||| Comcast Offers |
Its Flex but here is a working 3rd party demo: http://www.insideria.com/2008/05/google-releases-as3-maps-api.html
uh, it works for us. can you post the couple of lines code to show the base map?
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
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= “”.
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
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.