Topic: How to get world position of location on my tileset
So I have a new unity project and have upgraded to using the new Online Maps 4 asset. Years ago, using online maps 3 I was able to execute this line:
// get the world (vector3) pos corresponding to this lat/lon
Vector3 customMarkerPos = OnlineMapsTileSetControl.instance.GetWorldPosition(someObject.Long, someObject.Lat);I looked through the atlas of examples and searched here on the forum, but I only came up with:
Vector3 customMarkerPos = OnlineMapsControlBaseDynamicMesh.instance.GetWorldPosition(locationMarker.location);Unfortunately I get: The name 'OnlineMapsControlBaseDynamicMesh' does not exist in the current context
I think I'm in over my head here Alex. Any suggestions? Thanks!