Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Using Tabbed Maps Visualization In A Windows App is Easy!

This visualization sample demonstrates the use of the TMapView class. We will show how to display and interact with the map, including:

Location Visualization

You can find the Tabbed Map sample project at:

Visualization with Google Maps on Android

If you are running this sample on Android, in order to access the Google Maps servers, you have to add a Maps API key to the sample. To acquire the API key and add it in the sample you need to follow these configuration steps:

How Do We Use the Sample?

  1. Navigate to one of the locations given above and open:
    • Delphi: TabbedMapProject.dproj.
    • C++: TabMapProject.cbproj.
  2. If you are running the sample on Android, ensure you first follow the steps indicated in Using Google Maps on Android
  3. Before you run the sample, ensure the device is connected to the Internet.
  4. Press F9 or choose Run > Run.
  5. When you run the sample, the TMapView loads the map.

To interact with the map:

Files

File in DelphiFile in C++Contains
TabbedMapProject.dprojTabMapProject.cbprojThe project itself.
TabbedMap.fmxTabbedMap.fmxThe main form where the components are located.
TabbedMap.pasTabbedMap.hTabbedMap.cppImplementation of the sample.

Maps Visualization Implementation

If you want to check the original post, follow the link below:

http://docwiki.embarcadero.com/CodeExamples/Sydney/en/FMX.Tabbed_Map_Sample

Interested in developing Android and Windows applications with a map visualization on Delphi or c++ environments? Try the Windows UI Toolkit.

Exit mobile version