Developer Skill Sprint - Adding Interactive Maps to your Mobile Apps

Posted by on in Tips, Tricks and Techniques

 

 During today’s Skill Sprint, we covered the new TMapView component for iOS and Android that we introduced in RAD Studio XE8.try-rad-ad

We covered the following topics during today’s webinar:

–    Key Map Types
–    Gesture Control
–    Adding pins & annotations
–    API Key Setup on Android


 

maps1

There are 4 different map types:
–    Normal
–    Satellite
–    Hybrid
–    Terrain (for Android only)

You can choose from Zoom, Tilt and Rotate Map Gestures.

You can also add default (built-in) markers to the maps on iOS and Android, or use your own custom icons and annotations.

MapPins

Code1

To use maps on Android, you will need to request to an API key. Detailed steps for requesting an API key and enabling the necessary project options can be found here: http://docwiki.embarcadero.com/RADStudio/XE8/en/Configuring_Android_Applications_to_Use_Google_Maps.

Below are additional learning resources to help you get started using TMapView with RAD Studio XE8.

MapView Overview Documentation:
http://docwiki.embarcadero.com/RADStudio/XE8/en/Mobile_Tutorial:_Using_a_Map_Component_to_Work_with_Maps_(iOS_and_Android)

API Reference Documentation:
http://docwiki.embarcadero.com/Libraries/XE8/en/FMX.Maps.TMapView

Sample Apps shown during the webinar:
http://docwiki.embarcadero.com/CodeExamples/XE8/en/FMX.Mobile.Tabbed_Map_Sample
http://docwiki.embarcadero.com/CodeExamples/XE8/en/FMX.Mobile.Map_Sample
http://cc.embarcadero.com/item/30193


Download a free RAD Studio XE8 trial by going to embt.co/trialdownloads.



About
Gold User, Rank: 8, Points: 399
Brian Alexakis is a Product Marketing Manager at Embarcadero Technologies. He is focused on leveraging the connected world of technology to build new experiences for the Internet of Things.

Comments

  • DzairLogiciel D6467
    DzairLogiciel D6467 Tuesday, 16 June 2015

    Hi,
    I have a Souci, I ask you for what the carriage return (warped text) does not function in the title marks,
    I want to customize the tilte of marker so I can master the carriage return ( warped ) and display a long text using a different font without using an image,
    also how I can make this appear marker title without clicking . Is there a function to do display via code.
    Thanks in advance

  • Jayden
    Jayden Thursday, 11 June 2015

    How is it possible to continually update a users position without leaving the old markers on the screen? Ie if you were providing directions and wanted to keep the users position up-to-date.

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: