Topic: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

Why can't the TianDiTu map and other maps be set to Chinese? Thank you.

Re: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

Hello.

Are you sure that this is a question about Mesh to Terrain?!
This is a question about Online Maps, right?
Online Maps supports TianDiTu and AMap.
Just checked, both providers work well.

Kind Regards,
Infinity Code Team.

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

Re: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

I want to set up map language for Chinese and how to implement it?thank you

Re: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

TianDiTu uses labels as overlay.
How to use it (for Tileset control):

using UnityEngine;

public class TianDiTuLabels:MonoBehaviour
{
    private void Start()
    {
        if (OnlineMapsCache.instance != null)
        {
            OnlineMapsCache.instance.OnStartDownloadTile += OnStartDownloadTile;
            OnlineMapsCache.instance.OnLoadedFromCache += OnStartDownloadTile;
        }
        else OnlineMaps.instance.OnStartDownloadTile += OnStartDownloadTile;
    }

    private void OnStartDownloadTile(OnlineMapsTile tile)
    {
        StartDonwloadLabels(tile);
        OnlineMaps.instance.StartDownloadTile(tile);
    }

    private void StartDonwloadLabels(OnlineMapsTile tile)
    {
        OnlineMapsWWW www = OnlineMapsUtils.GetWWW("http://t1.tianditu.gov.cn/DataServer?T=cva_w&x=" + tile.x + "&y=" + tile.y + "&l=" + tile.zoom);
        www.OnComplete += OnLabelsDownloadComplete;
        www.customData = tile;
    }

    private void OnLabelsDownloadComplete(OnlineMapsWWW www)
    {
        OnlineMapsTile tile = www.customData as OnlineMapsTile;
        if (tile == null || tile.status == OnlineMapsTileStatus.disposed || tile.status == OnlineMapsTileStatus.error) return;

        Texture2D texture = new Texture2D(256, 256);
        www.LoadImageIntoTexture(texture);
        tile.overlayBackTexture = texture;
    }
}
Kind Regards,
Infinity Code Team.

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

Re: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

How to implement in UIImage controls?Thank you

Re: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

For example, in this way:
1. Online Maps / Advanced / Traffic - ON
2. Traffic Provider - Custom.
3. URL:

http://t1.tianditu.gov.cn/DataServer?T=cva_w&x={x}&y={y}&l={zoom}

4. Map Texture (Import Settings) / Alpha Source - None.
5. Apply.

Kind Regards,
Infinity Code Team.

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

Re: Why can't the TianDiTu map and other maps be set to Chinese? Thank you

How to set TianDiTu map text size?thank you

TianDiTu does not have this feature.

P.S. Please use your thread instead of posting your questions in random forum threads.

Kind Regards,
Infinity Code Team.

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