Topic: Gameobject ”Map“ have so much materials

I want to use baidu maps,but Online maps can't use it. So when I find solution,I've had a problem. Gameobject ”Map“ have so much materials,but each material's texture can find Right place.Hao to do it.Can you give me a suggestion.

Re: Gameobject ”Map“ have so much materials

Hello.

Online Maps does not support Baidu Maps, because it has a different projection.
Online Maps supports WGS84 Web Mercator (Spherical Mercator) and WGS84 (Ellipsoid).
Unfortunately, we could not find information about Baidu Maps projection in English.
If you have information about this, please contact us. We will try to add support for Baidu Maps.

Kind Regards,
Infinity Code Team.

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

Re: Gameobject ”Map“ have so much materials

Baidu uses WGS84 projection, just in the coordinates are encrypted, so there will be a certain deviation, the formula for the calculation of the variation is confidential. Deviation can be tested out, but the value of the deviation will be changed according to the value of the coordinates, I hope that the interface, and then the deviation value we can statistics through the database.

Re: Gameobject ”Map“ have so much materials

Problem 1:
Baidu has a half-tiles in between longitude -180, 180.
Example:
http://shangetu3.map.bdimg.com/it/u=x=M … t=20150601
http://shangetu3.map.bdimg.com/it/u=x=4 … t=20150601
To solve this problem requires a lot of resources (CPU, RAM).
This will give a great performance degradation.

Problem 2:
Baidu projection has tile coordinate - (0, 0), in the location (0, 0).
Tile coordinate X and Y can be positive or negative.
Honestly, I do not know what will happen when a tile coordinate is negative.
Maybe nothing, or maybe need to modify half of asset code.

Kind Regards,
Infinity Code Team.

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