Questions tagged [mapbox-unity]
8 questions
2
votes
0 answers
Getting the coordinates of the corners of the camera viewport in Mapbox Maps SDK for Unity
I'm using Mapbox's Maps SDK for Unity and I'm having trouble getting the coordinates of the corners of the viewport. I'd like to be able to retrieve the latitude and longitude of the corners of the viewport each time I move the map The attached…

CRTitan
- 21
- 1
1
vote
0 answers
MapBox Unity SDK : How to correctly calculate raycast position on a topdown 2D map in order to place POIs at runtime? Using "Zoomable Map" as a base
This is my frist time posting here.
I'm using the Mapbox Unity SDK in order to aid the creation of an app I'm developing. At the base of it, we have a 2D top-down map in which we can drag and drop UI images into the map to turn them into…

Nico Spadoni
- 21
- 3
1
vote
0 answers
Use Mapbox in Unity app without hanging Unity & editor at startup
I have a Unity app that's more or less an agglomeration of the Mapbox "ZoomableMap" example from the Mapbox Unity SDK .unitypackage and my own code (C#, attached to an empty GameObject).
When I hit 'play' in the Unity Editor, my code takes about 2…

Bitbang3r
- 6,826
- 5
- 27
- 40
0
votes
1 answer
How to add the custom data to Mapbox in Unity?
I want to add the custom data to the Mapbox in Unity.
Unity version: 2020.3.36f1
Scripting Runtime Version: vsCode
Api Compatibility Level: NET4.0
Mapbox SDK version: 2.0.0
The platform I am building to: Android, IOS.
I want to change the colors of…

blue pine
- 472
- 6
- 17
0
votes
1 answer
Unable to install Mapbox with Unity Errors (CS0234) appearing in Console
I just imported the Unity SDK into my project and I'm getting several errors CS0234 in the console. I'm using Unity 2021.1.0f1, attached is an image with the errors
0
votes
0 answers
Is there a way to spawn a GameObject in every neighbourhood listed in Mapbox?
I'm working on a geolocation-based game, currently using MapBox API, we need to spawn a GameObject in every neighbourhood, MapBox have a script to spawn in map when the user is closer enough to a spot, the problem is, i have to put all the…

el_diego
- 9
- 4
-1
votes
1 answer
Cannot assign MonoBehaviour script to AddMonoBehavioursModifierType array in inspector
Like the title implies, i cannot assign a MonoBehaviour to the Array in the inspector window for AddMonoBehavioursModifiersType script. I get an error message saying "Selected object is not a MonoBehaviour type!".
This should be straight forward, as…

Setz
- 133
- 2
- 11