Google Map in Flex Application

Problem : How to create Google map in flex application

Description : Creating Google Map in Flex application is very easy.Use the Flex Map Component from Google then get the API Key from here.Follow the below mentioned steps

Project Demo :

Download : Download the Flex Google Map project source here

Code Description :

  • Sign up for an Google Map API Key here.
  • Download Flex Google Map library here.
  • Create the Flex project then add the library in to the library path (Project -> libs)
  • Declare the Google map namespace.
    • <mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” xmlns:maps=”com.google.maps.*”>
  • Define the Flex map component in the application container as shown below
    • <maps:Map id=”map” mapevent_mapready=”onMapReady(event)” key=”ABCDEF” />
  • Replace the ABCDEF value with the Key you received from google.
  • Check the complete Demo’s and Examples here.

Remarks :This is very basic google map application it describes the requirement and procedures to show maps in the flex application.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

Comments

2 Responses to “Google Map in Flex Application”
  1. Vijayan Srinivasan says:

    Good work Megharaj! keep it up!!!

    Vijayan

Trackbacks

Check out what others are saying about this post...
  1. [...] How to build Google Map in flex please check the previous post here. [...]



Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

SEO Powered by Platinum SEO from Techblissonline