Reputation: 5705
I am making a Unity app for Android and iOS and have a requirement to show map in a kind of frame. For Showing map I am using Mapbox unity assets.
So I tried creating a parent game object and make the map child of it padding on all sides but when I run the scene map still loads fullscreen with no padding at all. I tried changing the camera extent option of the abstract map class but the results were not good and when zoom in the map it actually goes out of bounds of my frame. I also noticed that when I zoom in and out it actually changes the z axis position to do the same. So I want to ask how to keep the width and height of the map fixed and make it zoom in and out in that particular area.
Below is the attached image of how I want to style the map.
Upvotes: 1
Views: 740
Reputation: 1
yes sure ! first you watch video : https://www.youtube.com/watch?v=28JTTXqMvOU Then I'll explain if you have a problem !
Upvotes: -3