Giter Club home page Giter Club logo

mapbox-ios-sdk's Introduction

Information about this fork

The following features are included:

  • allow multiple selection of annotations
  • allow to show annotations within a specific zoom level range only

Mapbox iOS SDK

Based on the Route-Me iOS map library (Alpstein fork) with Mapbox customizations.

Requires iOS 5 or greater (includes iOS 7+ support at runtime), Xcode 5.0 or greater, and ARC.

Major differences from Alpstein fork of Route-Me:

  • Requires iOS 5.0 and above.
  • Supports Automatic Reference Counting (ARC).
  • Mapbox & MBTiles tile source integration code.
  • Mapbox Markers support.
  • UTFGrid interactivity.
  • Improved network tile loading performance.
  • A bulk, background map tile downloader for cache pre-population and offline use.
  • Annotation callouts that behave like MapKit.
  • Annotation convenience subclasses for points and shapes.
  • Prepackaged static library.
  • CocoaPods support.
  • Removal of two-finger double-tap gesture for zoom out (to speed up two-finger single-tap recognition like MapKit).
  • Different default starting location for maps.
  • Built-in attribution view controller with button on map views & default OpenStreetMap attribution.
  • Easy static map view support.
  • Removal of included example projects in favor of separate examples on GitHub.
  • A few added defaults for convenience.
  • Improved documentation.

Keep your eye also on Mapbox GL, the future of our rendering technology. We are aiming to have a clear upgrade path between existing toolsets and GL as it matures. Read more in the Mapbox GL Cocoa FAQ.

Route-Me

Route-Me is an open source map library that runs natively on iOS. It's designed to look and feel much like the built-in iOS map library, but it's entirely open, and works with any map source using a pluggable backend system.

Supported map tile sources include Mapbox/TileStream, the offline-capable, database-backed format MBTiles, OpenStreetMap, and several others.

Please note that you are responsible for getting permission to use the map data, and for ensuring your use adheres to the relevant terms of use.

Installation

There are three ways that you can install the SDK, depending upon your needs:

  1. Clone from GitHub and integrate as a dependent Xcode project.
  2. Use the static library. Link it in your project, add #import <Mapbox/Mapbox.h>, and additionally, include the -ObjC linker flag.
  3. Install via CocoaPods.

More detailed information on the installation options is available in the SDK guide.

The two main branches of the GitHub repository are pretty self-explanatory: release and develop. When we tag a release, we also merge develop over to release, except in the case of minor point releases (e.g., 0.4.2), where we might just bring over a fix or two from develop.

Then, update the submodules:

  git submodule update --init

Some example apps showing usage of the SDK (with screenshots):

More documentation is available:

  http://mapbox.com/mapbox-ios-sdk/

There are two subdirectories - MapView and Proj4. Proj4 is a support library used to do map projections. The MapView project contains only the Route-Me map library.

See License.txt for license details. In any app that uses this SDK, include the following text on your "preferences" or "about" screen: "Uses Mapbox iOS SDK, (c) 2008-2014 Mapbox and Route-Me Contributors". Your data provider will have additional attribution requirements.

News, Support and Contributing

Complete API documentation is available online or as an Xcode docset Atom feed.

The Mapbox iOS SDK has a support resource where you can open cases and browse other developers' discussions about use of the SDK.

We have a basic technical overview along with the installation instructions.

Mapbox has an IRC channel on irc.freenode.net in #mapbox.

To report bugs and help fix them, please use the issue tracker.

Dependent Libraries

The Mapbox iOS SDK makes use of several sub-libraries, listed below. See License.txt for more detailed information about Route-Me and Proj4 and see the individual license files in the sub-libraries for more information on each.

  • FMDB by Gus Mueller (SQLite for caching and MBTiles)
  • GRMustache by Gwendal Roué (Mustache templates)
  • SMCalloutView by Nick Farina (annotation callouts)

mapbox-ios-sdk's People

Contributors

albertschulz avatar amjaliks avatar amnesic avatar baldmountain avatar bradtheappguy avatar btknorr avatar chh51 avatar colinator avatar davidgoli avatar friedbunny avatar halmueller avatar hasseily avatar hjon avatar ilmarion avatar incanus avatar jfujita avatar josephg avatar kennygrant avatar michaeltyson avatar mrzoidberg avatar obrand69 avatar pbridger avatar pwnb0t avatar quazie avatar ryancopley avatar slainger avatar taylortrimble avatar tracyharton avatar trasch avatar vyskocil avatar

Watchers

 avatar  avatar  avatar

Forkers

daniel9c

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.