Again: Google Flex Maps Component 1.0

Filed under 3.0, ASDoc, Flex, Flex 3, Flex Components, Google, Labs, Open Source Stuffs

So, Took 1 hour after work today and did a update and finally.

Now, the Google Flex Maps Component 1.0 has a documentation where you can read it from here.

Pamela Fox from Google answer me the question about language issue.

One of the problems I still believe that should be open the .swc exposed by Google, there’s some mistery on some properties that I tried to implement that didn’t work . If someone’s from Google or even Pamela could give me access to that I should for sure add more options to the sdk.

So, The Google Flex Maps isn’t a replacement of Google Maps AS3.0 API as many people said. But is only a extended version of google instead of putting slices or UIComponent implementation on the code. Major goal is provide a easy way to developers.

Requirements: Google AS3.0 API to proper work and Flex 3 SDK.

Google Flex Map 1.0 Component: Binary format *.swc

Documentation for Google Flex Map 1.0

Source Code of Component.

7 Comments

  1. Paw
    Posted May 22, 2008 at 6:32 am | Permalink

    This is really a great job you have done here.

    There is a small problem when using the component in a dynamically loaded module… Its trying to get the stage, before it is there…

    try this:

    create a module, and put the component on that. Here the module is calle gmap.

    Then in the main project, call this code:

    var moduleInfo:IModuleInfo; = ModuleManager.getModule(”gmap.swf”);
    moduleInfo.addEventListener( ModuleEvent.READY,onModuleReady );
    moduleInfo.load( ApplicationDomain.currentDomain );

    private function onModuleReady(event:ModuleEvent):void {
    var map:DisplayObject = addChild( moduleInfo.factory.create() as DisplayObject );
    }

    You should get an error…

  2. Tomas A.
    Posted June 6, 2008 at 11:39 am | Permalink

    I don’t know why I cant make it work, what is that I’m doing wrong?

  3. Daniel
    Posted June 11, 2008 at 4:16 pm | Permalink

    Hi.. thank you for a great job you are doing.
    Im really really a newbie in FLEX so I hope Im not missing something really obvious. I managed to install and make your component work, .. zoom level, map type,…

    …everything but the longitude and latitude (longitude=”48.162604″ latitude=”17.158509″). Map is always showing the default location and Im not able to set my location in any way :(

    I have tried everything I could, but no luck.. :(

    I just want to show our facility location on our website made in FLEX.. please.. help..

  4. Stef Andries
    Posted July 1, 2008 at 7:54 am | Permalink

    Hi,

    I’m able to compile your code into a (kinda) working debug version, but not into a “real” AI app. I keep getting error message:

    Error #3207: Application-sandbox content cannot access this feature.
    at flash.system::Security$/allowDomain()
    at com.google.maps::ClientBootstrap/allowLibraryDomain()
    at com.google.maps::ClientBootstrap/loadUrl()
    at com.google.maps::ClientBootstrap/internalLoadBootstrap()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()

    Second question: How do you obtain a key ?

    Thanks,

    Stef

  5. Posted August 6, 2008 at 9:41 pm | Permalink

    Wow …that is what i need.. Thanks…

  6. buc
    Posted October 3, 2008 at 11:40 am | Permalink

    Great Job! what license does this component fall under, if any?

  7. Posted January 2, 2009 at 10:43 pm | Permalink

    Yes the google maps are great i am now just waiting for more functionality!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*