Quantcast
Channel: maps for developers - Medium
Viewing all articles
Browse latest Browse all 2230

Announcing the Mapbox Unity SDK

$
0
0

Today we are announcing the Mapbox Unity SDK. The new SDK gives developers direct access to Mapbox from within Unity, bringing the full spectrum of Mapbox API’s to location-based games, VR, and AR. All of this is available across platforms: mobile, game consoles, and web browsers.

The SDK exposes reliable library functions to develop Unity applications tapping into Mapbox maps, geocoding, and directions API’s. This makes global map layers for streets, terrain, satellite, points of interest, addresses, places, routing, traffic, and more instantly available in Unity. For example, stream Mapbox Streets map tiles to generate a city-based environment. Keep it flat, or go into the 3rd dimension with building heights:

image/svg+xml
image/svg+xml

screen shot 2016-10-28 at 7 16 31 pm

Access the geocoding API to build geographic leaderboards or use the directions API to lead players through narrow streets to the closest action. Or, like in this example of the Grand Canyon, combine the Mapbox elevation layer and satellite imagery into a comprehensive 3d model:

We have designed the SDK with flexibility in mind, maximizing convenience while avoiding assumptions about your game. For instance, with only a couple of lines of code, you can convert your character’s location into a human readable name like “Grand Canyon”:

privateGeocodergeocoder=newGeocoder(newMapbox.Unity.FileSource());privateReverseGeocodeResourcereverseGeocode=newReverseGeocodeResource(newGeoCoordinate(38.897,-77.036));geocoder.geocode(reverseGeocode(ReverseGeocodeResponseres)=>{// Use geocoding data at run time, in your game});

Games and global mapping data are a powerful combination. We’re excited to open up our new SDK and see what we can build together. This is just the start; if you’re looking to bring location to your game or AR/VR application, we’d love to hear from you!

Sign up for early access to the Mapbox Unity SDK.

Email Camilla Mahon to talk or meet us this week at Unite LA.
Our games team is expanding! Take a look at our open positions.


Viewing all articles
Browse latest Browse all 2230

Trending Articles