You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi if you want to change the camera only in runtime simply use
CameraBoundsTileProviderOptions cameraBoundsOptions =
abstractMap.Options.extentOptions.defaultExtents.cameraBoundsOptions;
cameraBoundsOptions.camera = mapCamera;
Also check the CameraBoundsTileProviderOptions script it has public Camera camera;
public int visibleBuffer;
public int disposeBuffer; variables
I'm trying to set the map extent options to Camera Bounds at runtime, and I'm running into the following error:
Here's the code I'm trying:
It seems like the camera that's passed in is reset to null inside OnTileProviderChanged (or the options are reset to the default).
The text was updated successfully, but these errors were encountered: