mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Zoomable Map - vector tiles instead of image tiles?

Open smxthereisonlyone opened this issue 7 years ago • 6 comments

How would I be able to stream vector instead of image tiles into the Zoomable Map scene?

smxthereisonlyone avatar Aug 01 '19 01:08 smxthereisonlyone

@smxthereisonlyone You can enable vector from abstract map script inspector but(1) vector data isn't available on lower zoom levels (2) vector data (and mesh generation) is heavy so it probably won't be smooth out of box.

brnkhy avatar Aug 01 '19 09:08 brnkhy

I will check it out. Maybe I can use another example as starting point and adapt the UI? For the AR examples (inspired by Pokemon Go), is the mesh generation better? So, theoretically, I could go from there and create maybe a top-down view?

smxthereisonlyone avatar Aug 01 '19 11:08 smxthereisonlyone

Also @brnkhy , I have to say, that I do not find the options in the "abstract map script inspector" to choose the vectors.

smxthereisonlyone avatar Aug 01 '19 11:08 smxthereisonlyone

@smxthereisonlyone I think mesh generation demo scene might be better to understand how things works as it's more simplistic. If you check the Map Layers section, you'll see it'll be either disabled (none) in zoomable mao scene or there are no layers added (nothing under map features box). Again basic mesh generation demos would help to understand how it works. Screen Shot 2019-08-12 at 4 59 44 PM

brnkhy avatar Aug 12 '19 14:08 brnkhy

As far as I see the map styles aren't rendered yet on the device (vector instead of image layer), and only separate features can be enabled (like 3D-buildings). Is there any plan to support map style device rendering of map layers (similar to e.g. Mapbox GL JS)?

Philipp-M avatar Aug 19 '19 14:08 Philipp-M

Cool got it to work. How can I make it much more smooth? I need it to be able to run alongside ARKit on an iPhone SE - how can I make the polygons, labels etc. run fast? Thanks! @brnkhy

smxthereisonlyone avatar Oct 02 '19 14:10 smxthereisonlyone