All three map providers supported by Hugo are not available in China
zhaozy21 opened this issue · 1 comments
Prerequisites
Proposal
Hugo currently supports three open-source maps - Google Maps, Mapbox, and Mapnik. However, these maps are not accessible in China due to network restrictions. To address this issue, I propose integrating an open-source map that is accessible within China, such as OpenMapTiles (https://openmaptiles.org/).
Motivation and context
- Need: Many Hugo users in China rely on open-source maps for their websites. However, the current options supported by Hugo are not accessible in China. This restricts the functionality of Hugo sites in the Chinese market and hinders user experience.
- Problem: When users in China visit a Hugo site that uses Google Maps, Mapbox, or Mapnik, the map tiles fail to load due to network restrictions. This results in a broken map and a poor user experience.
- Solution: By integrating OpenMapTiles, Hugo sites can offer a map experience that is accessible within China. This would improve the functionality and user experience for Chinese users, making Hugo a more versatile and inclusive platform.
- Impact: Adding support for OpenMapTiles in Hugo would enable site creators to reach a wider audience in China, while also enhancing the user experience for Chinese visitors. It aligns with Hugo’s goal of being a flexible and accessible static site generator.
*Disclaimer: The above text was generated by ChatGLM-v4.
This issue is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the main
branch, consider contributing a Pull Request with a fix.
If this is a feature request, and you feel that it is still relevant and valuable, consider contributing a Pull Request for review.
This issue will automatically close soon if no further activity occurs. Thank you for your contributions.