Skip to main content
Participant
December 16, 2011
Question

Map for blackberry Tablet Os

  • December 16, 2011
  • 2 replies
  • 1371 views

Hi Folks ,

      i do want encorporate a MAP (google map) in to my application of blackberry Tablet Os.

Could please give the way to achieve the MAP.

Regards,

Madhu.

This topic has been closed for replies.

2 replies

Known Participant
December 24, 2011

This is an off-the-cuff example with MapQuest:

                import com.mapquest.tilemap.Size;
             import com.mapquest.tilemap.TileMap;

          var mapkey = "YOUR_MAPQUEST_KEY";
          var mapWidth:Number = 1024;
          var mapHeight:Number = 600;
          
          var map:TileMap = new TileMap(mapkey);
          map.size = new Size( mapWidth, mapHeight);
          addChild( map );

That should give you a map object the full screen size on the playbook

Known Participant
December 17, 2011

Though they've discontinued support, Google's AS3 maps implementation works fine: http://code.google.com/apis/maps/documentation/flash/

For devices where their maps don't work (like iOS), we've successfully used MapQuest's maps: http://developer.mapquest.com/web/products/featured/as3-flex-flash

madhu_51Author
Participant
December 21, 2011

Hi ,

Thanks for the reply. I am doing the map for ipad 2 using adobe flex 4.5.1 . Can you give simple/basic example how i can use MapQuests. I am learner in this area.

Thanks

Participant
January 10, 2012

If you're interested, MapQuest has a sample showcase app that was built with Flash Builder 4.5.1 and deployed to iOS and Android.  The Flash Builder fxp is available here. I'm not sure why they chose not to deploy this app to BlackBerry, but maybe the source code can help you to get started?  Also, if you have any questions, check out their Developer Network and forums.

There is also a DevGirl blog entry that mentions the MapQuest Mobile Flash API here.

Hope this helps!