Painting San Francisco with the Maps SDK for Unity

Mapbox
maps for developers
1 min readFeb 22, 2018

--

By: Baran Kahyaoglu

I’m working on feature collections, based on KdTree using building positions, which will enable high-performance feature querying with the Maps SDK for Unity. In the video below, there are 12,401 buildings, and I’m querying for all buildings in brush range on every frame. This isn’t a shader or post process effect, it really is searching and finding buildings and then changing their material colors individually.

This is powerful for use cases like rendering only the features in a certain range, finding the closest features to a player (i.e. restaurants or buildings taller than a threshold), or changing properties of features depending on their distance to a point (similar to this painting example).

Read more about what you can do with the Maps SDK for Unity. Get started with these tutorials.

--

--

mapping tools for developers + precise location data to change the way we explore the world