Topic: How to get the map to be 1:1 with earth

I would like to know how you would achieve a 1:1 with earth for AR so that it feels like the objects are the correct distance from you, for example, my position to a building 40km/24.8548miles from me will look that far in the application.

Re: How to get the map to be 1:1 with earth

Hello.

Example:
http://infinity-code.com/atlas/online-m … ample.html

Kind Regards,
Infinity Code Team.

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

Re: How to get the map to be 1:1 with earth

Thanks, that worked but what should the width and height in pixels be?

Re: How to get the map to be 1:1 with earth

This is resolution of the map.
Width and height can have any values equal to N * 256.
Larger values - more detailed map.
But do not forget about rationality.
Very large values can slow down your application.

Kind Regards,
Infinity Code Team.

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

Re: How to get the map to be 1:1 with earth

When doing testing with the resolution of the map, changing the numbers gives me a different size map. Attached is an image that shows side by side that changing the resolution of the image changes the size of it aswell. I need some guidance to this.

Post's attachments

Attachment icon 512.PNG 846.18 kb, 62 downloads since 2019-06-07 

Re: How to get the map to be 1:1 with earth

I just tested it, and I have the same size of the map in the scene with different map resolutions.

Please send screenshots of your inspectors so that I can test this with your settings.

Kind Regards,
Infinity Code Team.

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

7 (edited by labcasia 2019-06-07 04:26:51)

Re: How to get the map to be 1:1 with earth

256

Post's attachments

Attachment icon 256Inspector.PNG 191.81 kb, 59 downloads since 2019-06-07 

8 (edited by labcasia 2019-06-07 04:28:16)

Re: How to get the map to be 1:1 with earth

512

Post's attachments

Attachment icon 512Inspector.PNG 400.51 kb, 55 downloads since 2019-06-07 

Re: How to get the map to be 1:1 with earth

This happens because you have the same zoom.
Online Maps draws a map based on the center point.
In the first case, you specify that you want 256x256 at zoom - 11.2.
In the second case, you specify that you want 512x512 at zoom - 11.2.
This gives you a map view twice as large as in the first case.
See the attached screenshot.
To display the same view, you need to use zoom - 10.2 for a size of 256x256.

Post's attachments

Attachment icon img1.png 1.13 mb, 66 downloads since 2019-06-07 

Kind Regards,
Infinity Code Team.

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