Git Product home page Git Product logo

Comments (7)

grumpypixel avatar grumpypixel commented on August 22, 2024

Hi ginawzf,

Thanks a lot for your message!

What language would you like your maps to be?

The problem is that OpenStreetMap (OSM) is a tile-base rendering engine, not vector-based. So the labels are part of the images. But I can see if can find other tile servers and integrate these into the application.

Best,
Sascha

from msfs2020-gopilot.

GINAWZF avatar GINAWZF commented on August 22, 2024

嗨ginawzf,

非常感谢您的留言!

您希望地图使用哪种语言?

问题在于OpenStreetMap(OSM)是基于图块的渲染引擎,而不是基于矢量的渲染引擎。因此,标签是图像的一部分。但是我可以看到是否可以找到其他切片服务器并将它们集成到应用程序中。

最好,
萨沙

Hi ginawzf,

Thanks a lot for your message!

What language would you like your maps to be?

The problem is that OpenStreetMap (OSM) is a tile-base rendering engine, not vector-based. So the labels are part of the images. But I can see if can find other tile servers and integrate these into the application.

Best,
Sascha

hi grumpypixel
I need Chinese, but not just Chinese. for example https://cn.bing.com/maps, bingmap is free to change languages. Add the option of switching languages, Is it feasible.I don't know much about programming. You can see if it works. Thanks again

from msfs2020-gopilot.

grumpypixel avatar grumpypixel commented on August 22, 2024

Hi ginawzf,

I will add an option to set the language for Bing maps via url parameters and I will let you know as soon as I committed the code.

Best,
Sascha

from msfs2020-gopilot.

GINAWZF avatar GINAWZF commented on August 22, 2024

Hi ginawzf,

I will add an option to set the language for Bing maps via url parameters and I will let you know as soon as I committed the code.

Best,
Sascha

so cool,Thanks a lot~~~

from msfs2020-gopilot.

grumpypixel avatar grumpypixel commented on August 22, 2024

Hi ginawzf,

I added the option to set the culture code for Bing Maps. I'm not sure if this solves your request/issue, but I hope that this works better for you than before.

Please note that this option does not work with the other maps, of course.

Examples for simplified and traditional Chinese:
http://localhost:8888/?default_map=BingMaps.Light&bing_culture=zh-Hans
http://localhost:8888/?default_map=BingMaps.Light&bing_culture=zh-Hant

You can download the new release here:
https://github.com/grumpypixel/msfs2020-gopilot/releases

You should probably get your own key for Bing Maps by the way:
https://www.microsoft.com/en-us/maps/create-a-bing-maps-key

And then go like this:
http://localhost:8888/?bing_key=<INSERT_YOUR_OWN_BING_KEY_HERE>&default_map=BingMaps.Light&bing_culture=zh-Hans

Best,
Sascha

Edit:
Bing Maps Culture Codes are listed here:
https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/supported-culture-codes

from msfs2020-gopilot.

GINAWZF avatar GINAWZF commented on August 22, 2024

Hi ginawzf,

I added the option to set the culture code for Bing Maps. I'm not sure if this solves your request/issue, but I hope that this works better for you than before.

Please note that this option does not work with the other maps, of course.

Examples for simplified and traditional Chinese:
http://localhost:8888/?default_map=BingMaps.Light&bing_culture=zh-Hans
http://localhost:8888/?default_map=BingMaps.Light&bing_culture=zh-Hant

You can download the new release here:
https://github.com/grumpypixel/msfs2020-gopilot/releases

You should probably get your own key for Bing Maps by the way:
https://www.microsoft.com/en-us/maps/create-a-bing-maps-key

And then go like this:
http://localhost:8888/?bing_key=<INSERT_YOUR_OWN_BING_KEY_HERE>&default_map=BingMaps.Light&bing_culture=zh-Hans

Best,
Sascha

Edit:
Bing Maps Culture Codes are listed here:
https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/supported-culture-codes

hi Sascha grumpypixel
I tested it. Great. Thank you very much~~~

from msfs2020-gopilot.

grumpypixel avatar grumpypixel commented on August 22, 2024

Hi ginawzf,

You're very welcome! I'm glad I could help.

Have fun!

Best,
Sascha

from msfs2020-gopilot.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.