Select to view content in your preferred language

Change Map Size

859
7
11-10-2022 06:19 AM
GustavoMedina
New Contributor

Hello, how can we crop the map  (extents does not seem to be working) and apply zoom to it? We want to place a map on top of a table in XR. So far we've only been able to place a map with the whole world, and with no zoom control. Are we missing something?

Thanks!

7 Replies
Matt_Nelson
Esri Alum

The extent property does work. To ensure you have it setup correctly make sure your map is in local mode, extent is enabled and the dimensions for the extent shape you are using are greater than 0

0 Kudos
GustavoMedina
New Contributor

Hello, yes, it is in local mode and the dimensions are greater than 0.

What about changing the map size? It is very important for us to be able to zoom but not moving the camera.

0 Kudos
Matt_Nelson
Esri Alum

Is this HDRP or URP?

0 Kudos
Matt_Nelson
Esri Alum

This is interesting. I can see the content is being not loaded at a high detail around the extent but it is not being cut out

0 Kudos
ArmaniXR
New Contributor

I'm having a similar issue to GustavoMedina's even after ensuring the map is in local mode and extent is enabled. Are there multiple areas/fields in the Inspector to check in order to set this up properly? I'm in Unity 2021.3.12.

0 Kudos
Matt_Nelson
Esri Alum

Are you using HDRP or URP?

0 Kudos
ArmaniXR
New Contributor

I am using URP.

0 Kudos