Skip to content
Taras Leskiv edited this page Sep 12, 2017 · 10 revisions

Apple Maps View Documentation

The plugin allows you to embed Native MKMapView into your iOS-Unity game. Note, this is NOT a Web View and NOT a Texture, its native interactive Apple Map View.

Supported features

  • At the moment the only thing you can do is show a map view at any position and size of your screen providing the following options:

    • Region - location and its size to show on the map
    • MapType - type of the map displayed like satellite, standard, hybrid etc.
    • ZoomEnabled, ScrollEnabled, PitchEnabled, RotateEnabled - control various gestures allowed on the view by the user
    • ShowPointsOfInterest, ShowBuildings, ShowCompass, ShowScale, ShowTraffic - whether to show certain things on the map
  • Annotations and other features are coming in the next updates. Please submit an issue to this repo to request feature that you are missing.

Limitations

Please read the limitations carefully before purchasing

  • The plugin works ONLY on iOS devices

  • The view is ALWAYS shown on top of everything in your unity game. The view is implemented as an iOS native view on top of Unity Activity. You can't place any Unity content on top of it.

  • The plugin does NOT work in Editor! It is a native iOS view (not a web view) so performance is awesome but there is no way to get native iOS view working in Unity Editor.

  • You have to handle device orientation changes. Use Screen.orientation to determine screen orientation changes, when it changes, dismiss the view and show again passing new position rect. See the demo inside the package for a working example.