Topic: Google Maps Satellite (non-styled) tilted?

I created a very basic map using the Unity Editor Wizard and selected Google Maps as the provider. The map loaded fine, but looked "off" to me, so I loaded up Google Maps and went to the same location, and I discovered that in the Unity version, the map appeared to be tilted away from the camera, but in the web browser version the camera was looking straight down on the map.

I didn't see anything in the Unity Inspector to change the perspective/camera angle of the map--where in the code is this set?

Re: Google Maps Satellite (non-styled) tilted?

Hello.

Please attach a screenshot of map GameObject.
Most likely you just need to click «Move Camera to Center of Tileset».

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Google Maps Satellite (non-styled) tilted?

Inspector 1/2/3 are all fields of the Map object. I've also attached the Camera object.

It's a very basic 2D scene with the map filling the screen.

Post's attachments

Attachment icon Inspector1.jpg 93.31 kb, 126 downloads since 2016-03-01 

Re: Google Maps Satellite (non-styled) tilted?

Second portion:

Post's attachments

Attachment icon Inspector2.jpg 101.64 kb, 123 downloads since 2016-03-01 

5 (edited by stephen 2016-03-01 01:12:58)

Re: Google Maps Satellite (non-styled) tilted?

Third:

Post's attachments

Attachment icon Inspector3.jpg 48.59 kb, 117 downloads since 2016-03-01 

6 (edited by stephen 2016-03-01 02:00:25)

Re: Google Maps Satellite (non-styled) tilted?

Camera:

Post's attachments

Attachment icon Camera Object.jpg 113.67 kb, 121 downloads since 2016-03-01 

7 (edited by stephen 2016-03-01 01:22:07)

Re: Google Maps Satellite (non-styled) tilted?

Screenshot from Unity for 39.4480103,-76.4162694

Post's attachments

Attachment icon ineditorview.jpg 196.67 kb, 114 downloads since 2016-03-01 

Re: Google Maps Satellite (non-styled) tilted?

Screenshot from google maps (browser), same location

Post's attachments

Attachment icon browserview.jpg 187.99 kb, 138 downloads since 2016-03-01 

Re: Google Maps Satellite (non-styled) tilted?

Hello.

You are using a texture with a size of 512x512 on the widget with size of 712x404 (img - inspector2), so the map loses aspect ratio, and the map looks tilted.
Use the square widget size, to prevent this problem.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Google Maps Satellite (non-styled) tilted?

Good catch, fixed it--thanks!