40 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
5 star 5
4 star 4
3 star 16
2 star 10
1 star 5
Compatible with
  • Android
  • iOS

Mapbox SDK 4.2.1.1

Xamarin Inc.

Build the map your application deserves.

MapBox SDK for Xamarin

An open source SDK for pixel-perfect vector maps on iOS and Android. Maps render at the speed and smoothness of a video game. And it's free to start developing.

Features

  • Fast, beautiful vector maps
  • Fully open source
  • Customizable map styles and layers
  • Frequent data updates from OpenStreetMap
  • User metrics dashboard *
  • Web-based map style editor
  • On-device vector rendering
  • User location services and compass tracking
  • Point and shape annotations
  • Raster tile support for satellite imagery and legacy maps

Designed without clutter

Mapbox Streets, our signature map style, features bright colors and clear contrast to make every location in the world recognizable. Each zoom level is balanced to show just the right amount of information. A clean, beautiful map for every city at any zoom level.

Emerald features subtle, yet detailed hill shades. Get a glimpse at terrain before a jog or take Emerald through the city. Its detailed roads, major motorways, and metro routes will connect your users to their next adventure or lunch date.

Dark and Light are perfect styles for enhancing data. Both have just enough information to help orient users without taking the focus away from your content. Seamlessly switch from one style to the other in the same app; these styles were made to be interchanged. The clean designs of Dark and Light will make your data pop.

Making better maps

To improve our maps, Mapbox uses anonymized location data to benefit both our customers and anyone who uses OpenStreetMap data. Together we're building a better map.

Battery efficient

Mapbox is fast, secure, and extremely battery efficient. We tested battery usage extensively to ensure a full day's charge for your users without sacrificing performance.

Security

Location data is highly sensitive: it contains information about where we live and our daily habits. Mapbox anonymizes, aggregates, and protects all location data.

Data dashboards for developers

Find out how users are interacting with your map. Our new data dashboard provides a continuously updated view of your map’s usage, from what neighborhoods are popular to map usage metrics.

The iOS and Android SDKs are 100% open source, licensed under BSD with all development and discussions happening on GitHub. Read more about our approach to open source at Mapbox.

We built Mapbox in C++14 using OpenGL ES 2.0, a subset of OpenGL that is available on mobile devices. With minor changes it can also run on desktop hardware. We use protocol buffers for compact vector tiles and we've implemented custom code for text display and layout.

Release Notes

3.2.0.3

  • Updated to Mapbox iOS SDK v3.1.2

3.2.0.1

  • Updated to Mapbox iOS SDK v3.1.0

3.2.0.0

  • Updated to Mapbox Android SDK v3.2.0

3.1.0.0

  • Updated to Mapbox Android SDK v3.1.0
  • Updated to Mapbox iOS SDK v3.0.1

3.0.0.1

  • Fix nuget package references for Android sample

3.0.0.0

  • Updated to Mapbox iOS SDK v3.0.0
  • API Fixes for iOS
Write a Review

18 reviews

Aditya Sharma

can I provide a custom tile URL to this SDK?

Posted on: November 17 / Version: 4.2.1.1
sergej selevich

GetVisibleFeaturesAtPoint defined as

public virtual Feature[] GetVisibleFeaturesAtPoint(CGPoint point);
but the Feature is abstract
public abstract class Feature : NSObject, IFeature, IAnnotation, INativeObject, IDisposable
Does it bug?

Posted on: September 16 / Version: 4.2.1.1
Vu Duc Tuyen rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

My team made the binding for latest version of Mapbox SDK on both Android and iOS.

You could find them on Github or on Nuget

https://github.com/NAXAM/xam-mapbox-ios https://github.com/NAXAM/xam-mapbox-android

Please try out, raise issues and contribute.

Posted on: April 16 / Version: 4.2.1.0
Patrick Zenker rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Mapbox Android SDK Version 5.0.0 was released at March 17th, 2017. Is there any plan to update Xamarins Mapbox SDK (and other services from Mapbox) regulary?

Posted on: April 10 / Version: 4.2.1.0
Gabriel Ocampo rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

How generates a ShapeCollectionFeature from a GEOjson file in iOS?

For android I use this:

public FeatureCollection LoadFeatureCollection(string file, Context context) { FeatureCollection result = null; using (StreamReader sr = new StreamReader(context.Assets.Open(file))) { result = FeatureCollection.FromJson(sr.ReadToEnd()); } return result; }

Posted on: April 6 / Version: 4.2.1.0
Jesus Garcia rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

When will you update to 4.2 ? There are some crashing bugs on mapbox 4+ on android 5+ which were fixed by the mapbox people in 4.2.

Posted on: January 31 / Version: 4.1.1.1
jeremy lb rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Is there a plan to include the Mapbox driving direction ?

Posted on: January 18 / Version: 4.1.1.1
Jody Ford rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Love it but where is the documentation?

Posted on: January 9 / Version: 4.1.1.1
Anders Lindén rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

On my LG G3, running this app produces the following dialog:

"Unfortunately, Mapbox Sample has stopped".

Reason seemed to be that the access token was missing in Strings.xml! An error message would be great instead of just a crashing app.

Problem: I found no MapView.setMyLocationTrackingMode method and the documentation fails to tell what I should use.

Posted on: October 19, 2016 / Version: 4.0.1.0
Yuriy Kaposhin

I'm trying to run MapBox example for xamarin under Android. Example provided with Mapbox SDK 4.0.1.0 Xamarin Inc. from here https://components.xamarin.com/view/mapboxsdk?version=4.0.1.0

I did not modify original sample code. It is compiling fine, but when I'm trying to deploy it - it is crashing. I'm using MSVS2015 + xamarin. I was tried older version of sdk and got odd results:
4.0.1.0 - crash
4.0.0.0 - same crash
3.0.0.1 - run ok once
3.2.0.3 - run ok once, but crash after some actions(map moving)
3.0.0.1 - crash and never run ok again
I was tried different AVDs - same result. Crashing on the string "mapView.OnCreate (bundle);" in MainActivity

Posted on: June 17, 2016 / Version: 4.0.1.0
Jens Engelbrecht rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Problems inflating inflating class com.mapbox.mapboxsdk.maps.MapView in Fragment, Anybody succeeded in doing that? Or should I try v3 ?

Posted on: May 19, 2016 / Version: 4.0.0.1
Christoph Ebert rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

I just tried the android version and it works fine on a real device but crashes in any of my simulators. I guess it is due to that bug: https://github.com/mapbox/mapbox-gl-native/issues/2995 so it would be nice to get an update. Or even better open source the porting wrapper :)

Posted on: May 11, 2016 / Version: 4.0.0.0
Pablo rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

With almost no documentation and an incomplete binding of the library it is really hard to get customized maps running.

Posted on: April 27, 2016 / Version: 4.0.0.0
ahmed khan rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Issues: Not usable in Xamarin.Forms

1.No Documentation and does not work with Xamarin.Forms on the Android side.

Component is Great on Xamarin.iOS but documentation sucks... wish someone could supply Xamarin Specific Documentation -the iOS SDK documentation didn't help me get the annotation working correctly

Is there any example code in Xamarin.iOS that shows how to enable a working annotation with a callout, title and subtitle on the map? mine shows the callout icon, but tapping the icon does not do anything

Posted on: April 22, 2016 / Version: 3.2.0.3
Yves Ducreuzet rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

MapBox itself is super nice but the component have almost no documentation on the OfflineStorage which is a big feature of MapBox. Can you please provide an example on how to use OfflineStorage ? Following MapBox tutorial doesn't works since i can't convert TilePyramidOfflineRegion to OfflineRegion...

Posted on: April 9, 2016 / Version: 4.0.0.0
Leon Pelletier rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Update to 4.0.0.0 and I'll give you my note of 5.

Posted on: March 20, 2016 / Version: 3.2.0.3
Khyati rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

The very first version had some bugs but those have been addressed after I logged them on BugZilla. 5 stars for the excellent support

Posted on: December 2, 2015 / Version: 2.1.2
Ko-hei OHTSUKA rates this with
  • 1
  • 2
  • 3
  • 4
  • 5

Yes, as Khyati says, sample of iOS not working in real device. (In simulator, it works fine.)

I reported this on forum: http://forums.xamarin.com/discussion/55280/mapbox-sdk-for-ios-works-in-simulator-but-not-works-in-real-device Please fix if this is a bug.

And I think

  • Fully open source

Original MapBox SDK is fully open source, but porting wrapper code is not. Please open porting code also...

Posted on: November 6, 2015 / Version: 2.1.2