Open VegetaDTX opened 3 years ago
Hey @VegetaDTX ! I think vector layer doesn't support globe terrain at all. It's easier to place pins of some locations but having lines/borders on sphere will definitely be much more difficult. Coordinate translation is actually simple, but mesh generation just doesn't support it.
Hello everybody! :)
First off, I'd like to thank Mapbox team for being awesome and allowing those of us indie game developers to play with Mapbox in Unity with all of its features for free as long as we are under a certain number of server requests.
Now, onto my question - could anyone give me an idea/advice as to how I could go about adding Map Features (like country border mesh/line) to the map that uses the "Globe Terrain" as an Elevation Layer Type and have it properly projected onto the globe? So far I haven't had a success with it, because the country border lines always end up piled onto a flat plane as if the Elevation Layer Type wasn't set to Globe Terrain but to a Flat Terrain instead.
I'd be happy with any kind of approach or workaround for now, whether it be just an advice as to how I could reproject these meshes back onto the globe purely with Unity's C# or some feature of Mapbox that I might be unaware of, that could actually solve this.
I'd appreciate any input very much!