Migration of Google Maps Javascript to Flash

Hi,  I am trying to gather information on how to migrate a heavily Google Maps based website
Mapped Travel from pure Javascript to Flash. I was wondering if there is a good migration guide out there, if there are any limitations (performance, compatibility, functionality, etc.)? Maybe there are even scripts to help me automate the migration?  Thanks for any comments, Ralph

You use ExternalInterface.addCallback to enable calling a function from JS.
Here, this tutorial has everything you need: http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication

Similar Messages

  • Google Maps API for flash not working on real device iPad

    I use flash builder 4.5.1 to build app for Google Maps API for iOS (map_flex_1_20.swc), and it is working well even on the simulator on PC, but after I generate the IPA use FB4.5.1, and install on iPad , it not working at all, only show a while screen.(I used the TabbedViewNavigatorApplication, the botton Tabbar is working, I can switch the page, but on the maps page show nothing)
    I also try the code on Flash CS5.5  using map_1_20.swc , when on the PC debug, it works well,(swf files), but install the AIR ipa on the iPAD, show nothing only a white sceeen.
    anyone  met this problem?

    You can also use the MapQuest Mobile Flash Maps API.  It's supported by MapQuest and does not need any work-arounds in order to work with the Flash Platform.  It also takes advantage of the "build once, deploy anywhere" functionality in Flex 4.5+.  MapQuest provides a demo app for Android and iOS and has the source code available for download, too.

  • Google Maps embedded in Flash

    Hi,
    Just wondering if it's at all possible to embedd an interactive Map supplied by Google Maps, that uses the following code to display the map:
    <iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Swansea,+UK&sll=37.0625,-95.67 7068&sspn=49.357162,79.013672&ie=UTF8&split=0&t=k&ll=51.620361,-3.946495&spn=0.063948,0.10 2997&z=12&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=Swansea,+UK&sll=37.0625,-95. 677068&sspn=49.357162,79.013672&ie=UTF8&split=0&t=k&ll=51.620361,-3.946495&spn=0.063948,0. 102997&z=12&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>

    Ah ha, found a tutorial on Google itself, they've thought of everything!
    Anyone else pondering this questions simply google "google maps and flash"

  • Google maps for flash been Deprecated !

    Hello. i just wana notify the comunity about a serious step tooken from google to kill the maps for flash, because seems like they can not handle them.
    I would like to hear Adobe opinion - can Adobe do their developers a favor and asign a programmers to took close deal with google and continue the maps for flash ?
    This is not a simple issue, it will be a vital for the future development of many things connected to Adobe and Google.
    Please consider the question carefully.

    http://code.google.com/apis/maps/documentation/flash/
    "Note: The Google Maps API for Flash has been officially deprecated as of September 2, 2011. The API will continue to work as per ourdeprecation policy, but we encourage you to migrate your applications to version 3 of the Maps JavaScript API."
    The statement is perfectly LOL.
    And seems like google can not pay 2-3 more developers to took care for thoose API,
    The forum comunity related to this API vould like to ask if can Adobe took care on it because they have proven as a good team of developers already.

  • Can you insert a google map in flash?

    I was wondering
    how I could insert a google map in a
    flash app and preserve the interactive aspects of the google map?
    Thank you for the help.

    yes, for as3, there's an api for flash.  check the google docs.
    for as2, you can purchase (or they may be a free) google component or, use javascript and the flash externalinterface class.

  • Replacing Flash Google Maps

    Hi,
    As of 3rd Sept 2014 Google Maps Flash API has been closed. I have a browser based swf which incorporates a map in its interface that now doesn't function.
    Would anyone have any suggestions on a replacement API or method of showing an interactive map (e.g. Google Map JavaScript API) within the swf?
    Thanks,
    Mark

    Hi,
    As of 3rd Sept 2014 Google Maps Flash API has been closed. I have a browser based swf which incorporates a map in its interface that now doesn't function.
    Would anyone have any suggestions on a replacement API or method of showing an interactive map (e.g. Google Map JavaScript API) within the swf?
    Thanks,
    Mark

  • Google Map in Flash

    Hi friends,
    I am trying to put a google map into my flash website or
    aplication. If someone can help me, it will be helpful to me to
    finish my project, i got struct up.. pls...
    i want to insert some particular place maps in flash
    application. like while click on contact location, i want to show
    my flash application map. or embed in my web page.
    Thanks in advance,
    Rahimhaji

    Hello, did you have any success getting google maps in Flash.
    the google maps api exist now, I am having problems positioning the
    map on specific co-ordinates on my stage - any ideas?
    Richard

  • How to load the google map into an empty movieclip

    how to load the google map into an empty movieclip ?  Thank you

    if you're using as3, check the google maps api for flash.  if you're using as2, check the google maps api for javascript and use the externalinterface class in flash.

  • Google Maps with AS2

    Hi all,
    Is there an easy way of embeding a movable google maps in Flash CS6 using AS2. The Google Maps API for flash won't provide anyone with new API keys anymore. I wondering if there is a way to use an HTML iframe in flash as then I would be able to somply embed the map in my Flash document using the code that google gives you.
    Thanks in advance

    you should be able to use the javascript api with actionscript's externalinterface to use google maps and as2.

  • How to show google maps in JPanel

    How do i show the google maps in Java Application.
    Please help me.

    Yup, that's it. Notice that it's "The Google Maps *JavaScript* API" so you're going to have to provide a JavaScript runtime environment in your JPanel. That shouldn't be impossible given that Java does contain such a thing these days, but the AJAX aspects (where the API wants to connect to the Google servers) might be tricky. Perhaps somebody has done this sort of thing already and posted it on Sourceforge or something.

  • Add the google map.

    Good day all!
    I've been trying to add the google map to a flash site. I've
    got it on there but it's in the wrong place it sits on the top of
    the page and I need it to be centered. Under the logo and nav bar.
    You can see it here>
    http://thedesignport.com/Doughboys/Location_Page.html
    Any help? And I would like to add a from/ to search. Can't
    find anything that helps online.
    Thanks all!

    Hello, I am having a similar positioning issue - did you ever
    figure this one out?
    Please let me know how, thanks
    Richard

  • Map marker + geolocation (google maps)

    I'm currently working on embedding a google map in my app. The geolocating already works ( I used this code: DPS Tips HTML5 Examples, thanks Bob!), but I just can't add markers to the map. I tried different codes but none seem to work. I would also need the markers to have their names shown (e.g. hotspot 1, hotspot 2).
    Has anyone here found a solution for this and would be kind enough to share?
    Thanks in advance!

    hi! I used the code for geolocation from the link above, and this code for the marker: Simple markers - Google Maps JavaScript API v3 — Google Developers
    It both works independently, but I can't mix them. I also can't find a way to modify my marker ( own icon) and add an info box. 
    I tried some of the following links to try and work those aspects to the marker file, if it helps with finding a solution:
    LabeledMarker Documentation: Examples
    Adding dynamic content to Google Maps marker - Stack Overflow
    map-geolocation-with-fancy-marker.html - gmaps-samples-v3 - Google Maps API v3 Sample Code - Google Project Hosting

  • Set Delhi Default In google Map

    Hi friends,
    I am using google map . i want to set default Delhi in google map How can i do this.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
      <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <title>Google Maps JavaScript API Example: Controls</title>
        <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA"
                type="text/javascript"></script>
        <script type="text/javascript">
        function initialize() {
          if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map_canvas"))
            map.setCenter(new GLatLng(37.4419, -122.1419), 13);
            map.addControl(new GSmallMapControl());
            map.addControl(new GMapTypeControl());
        </script>
      </head>
      <body onload="initialize()" onunload="GUnload()">
        <div id="map_canvas" style="width: 500px; height: 300px"></div>
      </body>
    </html>How can i do this.
    Thanks
    Edited by: 805629 on Nov 11, 2010 12:05 AM

    Qickly changed Tramps to Gramps?
    To place a google map in your site, have a look here http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=2187524. This will enable you to place a pin on your address.
    To have your address placed in a google.com hosted site, you will need to Google the subject.
    Tramps.
    Oopps
    Gramps

  • Error on Google maps simple map with Flex3

    I have the following message ; "Initialization failed: please
    specify an API key"
    when I try to run the first sample that i found on Google
    Maps API for Flash Tutorial ; link below
    http://code.google.com/apis/maps/documentation/flash/basics.html
    Google explains that when you run on your own computer, you
    don't need the key.
    I tried it on flex3 and Air with the same error message.
    May somebody explain what i do wrong ?
    Excuse my english because I'm french

    Hi. Are you running your example on a local web server or
    just from the file system? Even when specifying a correct key for a
    local virtual host in apache, I get:
    Initialization failed: please check the API key,
    swf location, version and network availability.
    I am using Map.key="mykey"

  • Google Map route in web dynpro question

    Hi all,
         I have a route from add_A to add_B in my database, i want to get this route data from database and show up in google map page. The show up function can be implement by call google map javascript. My problem is how can send route data from web dynpro to my google map page. The google map page can be a JSP or html page, assume that  we use the iFrame element to show this page.
        I search forum, there is a way send the data by url parameter, but my case, the route data should be very large, may not be send by the url parameter. If any one have good idea or other solution  for my case.

    hi all,
      I am encountering to new problem. After deploy my app and run in portal, the redirect does not work. the error message is:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:
      Suspend-Plug must no be triggered when running in portal. Use portal navigation instead to navigate to another application!
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:529)
        at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:462)
        at com.esapro.jcats.routemap.wins.wdp.InternalRouteMapInterfaceView.wdFirePlugSuspend(InternalRouteMapInterfaceView.java:154)
        at com.esapro.jcats.routemap.view.RouteMapView.onActionShow(RouteMapView.java:192)
        at com.esapro.jcats.routemap.view.wdp.InternalRouteMapView.wdInvokeEventHandler(InternalRouteMapView.java:276)
        ... 29 more
      So my question is may i use portal navigation to resolve my problem and how to do it. I need to delivery parameter by post method between them page.  If anyone give me some mainly steps.
    I've try the method,it doesn't work. It only replace a new blank page in portal conten area.
         WDPortalNavigation.navigateAbsolute(
          "ROLES://portal_content/other_vendors/line_manager/com.aa.pct.jcats/com.aa.pct.jcats.iviews/com.aa.pct.jcats.Map",
                    WDPortalNavigationMode.SHOW_INPLACE,
                    "width=300,height=200",
                    null,
                    WDPortalNavigationHistoryMode.ALLOW_DUPLICATIONS,
                    null,
                    null,
    best regard
    reefish
    Edited by: Ree Fish on Aug 6, 2009 5:53 PM

Maybe you are looking for

  • Total in REUSE_ALV_BLOCK_LIST_HS_APPEND

    hi, i am using "REUSE_ALV_BLOCK_LIST_HS_APPEND" to display alv in hierarchy. i have some 5 columns to display, i need to have total for all these 5 columns at the end and text for it as "TOTAL". i have used DO_SUM in fieldcat and declared layout to d

  • How do I apply a character style to a sentence that has an '&' in it?

    Hi all, I'm trying to apply the Character style 'See Figure' to any mention of of the phrase (See Figure x) which  I've figured out is: \(See Figure \d+\) The problem I'm facing is that sometimes I will need to list multiple figure references. It wil

  • BC Photo Gallery with a jQuerry and a muse desktop template

    Hello How to combine a BC Photo Gallery with a jQuerry and a muse desktop template. The jQuerry Slider is from http://galleria.io (tutorial: http://www.atlantawebdesignga.com/adobe-business-catalyst-developer/use_javascript_galleri a_slideshow_to_dis

  • BADI Enhancement VENDOR_ADD_DATA_CS

    Hi,   I am working on a BADI Enhancement for adding Customer Sub Screen in Vendor master Data. I used standard BADI enhancements  VENDOR_ADD_DATA and VENDOR_ADD_DATA_CS. Using this I am able to call the Z program and it's screens via these BADI's. Ca

  • Uninstalling MS Office test Drive

    I am trying to uninstall MS Offic Test Drive as I am using NeoOffice now. Every time I try and open a document it tries to use MS Word - which is annoying.... Anyway... I tried to use the "Remove Office" utility and it looked like it was working - it