Coder Social home page Coder Social logo

mapkit-ios-demo's Introduction

Mappable MapKit Demo Apps

Mappable Mapkit and NaviKit lets you embed interactive maps in iOS and Android mobile apps and give users access to Mappable’s technology and cartographic data. Learn more about the MapKit and NaviKit SDKs on the documentation page.

For a quick start development with the MapKit and NaviKit SDKs visit the following pages:

The current repository contains sample code for how to use the MapKit and NaviKit SDKs for iOS applications.

Project structures

There are three iOS projects in the repository:

  1. MapkitSamples: Contains several iOS applications with sample code in Swift, all of which are nstrated in the MapKit SDK Tutorials documentation.

  2. MapKitDemo: A demo application that contains the basic functionality of the lite and full MapKit SDK versions. It is not supported with Tutorials documentation, unlike the MapkitSamples project.

  3. NaviKitDemo: A demo application showcasing the basic navigation features you can implement with NaviKit SDK.

Build locally

  1. Clone the repository:

    git clone https://github.com/mappable-world/mapkit-ios-demo.git
  2. Execute the following command in your project's directory to install dependencies:

    pod install
  3. MapKit SDK demo application and samples require API key. You can get a free MapKit API key in the Get the MapKit API Key documentation.

  4. Depending on the project you want to build, follow the steps in the following sections.

MapkitSamples

  1. Open the project's build settings. Add the following user-defined setting with your API key value in place of the YOUR_API_KEY placeholder:

    MAPKIT_API_KEY = "YOUR_API_KEY";
    
  2. Choose the desired target in Xcode, build and run.

MapKitDemo

  1. Open the AppDelegate.swift and edit the MAPKIT_API_KEY constant declaration, setting its value with your API key in place of the YOUR_API_KEY placeholder:

    let MAPKIT_API_KEY = "YOUR_API_KEY"

    You can as well store this API key in your project's build settings and Info.plist file.

  2. Build and run the MapKitDemo target in Xcode.

NaviKitDemo

  1. Open the project's build settings and edit the MAPKIT_API_KEY parameter, setting its value with your API key in place of the YOUR_MAPKIT_API_KEY placeholder:

    MAPKIT_API_KEY = YOUR_MAPKIT_API_KEY;

    You can as well store this API key in your Info.plist file.

  2. Build and run the NaviKitDemo target in Xcode.

Support

If you have problems or suggestions while using MapKit or NaviKit, visit our technical support page.

Sample overview

MapWithPlacemark
Demonstrates how to create a MapKit map, move
it, and display custom tappable placemarks.
MapObjects
How to display different objects on the map, including:
images, geometries, and clusterized collections.
MapInteraction
About interacting with the MapKit map using
camera movements, tap actions, focus rect
and focus point, and interactions with POIs.
MapSearch
Shows how to use Search and Geosuggest
functionality in the full MapKit SDK.
MapRouting
Building routes using requested map points.

mapkit-ios-demo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.