The Map View allows you to display an interactive map in your iOS app. You can define the position and the map type. Of course it is also possible to add a marker (annotation) to the map.
To show the properties of the Map View, click the Properties tab (the slider icon) in the upper right sidebar.
Here you give the element a name. This name is only used within appdoo. For example, you can quickly see in the outline where each Map View is located. You can also edit the name by double-clicking on the Map View in the outline. We recommend that you assign unique names when working with Layout Constraints and Data Links.
Here you can define the map type for the display. You can choose between the following options:
A street map that shows the position of all roads and some road names.
Satellite imagery of the area.
A satellite image of the area with road and road name information layered on top.
Here you can specify whether a certain address (Search) or geocoordinates (Coordinates) are to be used for the display.
If you have selected this option, you can enter the address to be displayed on the map in the text box that appear.
If you have selected this option, you can enter the geocoordinates (latitude, longitude) in the fields that appear.
Specify here how many meters around the point you are looking for should be displayed on the map.
Enter the title that is to be displayed at the annotation.
Enter the subtitle that is to be displayed at the annotation. This is displayed below the title.
The map with the annotation looks like this inside the iOS app:
If you activate the “Hidden” checkbox, your Map View will still be present on your work space, but will not be displayed. This can be useful, for example, if you only want to display the Map View under certain circumstances. You can control this via the “Hidden” field in the “Data Links” area.
All information about this area can be found on the separate Geometry page.
The following properties of the element can be set using the data links:
- Search Term
All information about this area can be found on the separate Data Links page.