Map View

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.

appdoo - Elements - Map View

Properties

To show the properties of the Map View, click the Properties tab (the slider icon) in the upper right sidebar.

appdoo - Elements - Map View (Map View)

  • Name
    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.

  • Type
    Here you can define the map type for the display. You can choose between the following options:

    • Map
      A street map that shows the position of all roads and some road names.

    • Satellite
      Satellite imagery of the area.

    • Hybrid
      A satellite image of the area with road and road name information layered on top.

  • Position
    Here you can specify whether a certain address (Search) or geocoordinates (Coordinates) are to be used for the display.

    • Search
      If you have selected this option, you can enter the address to be displayed on the map in the text box that appear.

    • Coordinates
      If you have selected this option, you can enter the geocoordinates (latitude, longitude) in the fields that appear.

  • Width
    Specify here how many meters around the point you are looking for should be displayed on the map.

Annotation

appdoo - Elements - Map View (Annotation)

  • Title
    Enter the title that is to be displayed at the annotation.

  • Subtitle
    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:

Map View in iOS app with annotation

Advanced

  • Hidden appdoo - Elements - Map View is Hidden

    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.

Geometry

All information about this area can be found on the separate Geometry page.

appdoo - Elements - Map View - Geometry

The following properties of the element can be set using the data links:

  • Search Term
  • Latitude
  • Longitude
  • Hidden

All information about this area can be found on the separate Data Links page.

appdoo - Elements - Map View - Data Links