Google Maps does not work in Mainland China. All Google services, including Google Maps, the Google Maps JavaScript API, and Google Maps embeds, are inaccessible from within China. For websites that use Google Maps, this means the map section of your site will fail to load for visitors in China, and depending on how the map is implemented, it can delay or break the rest of the page as well. Alternatives like Baidu Maps, Gaode Maps (Amap), and Tencent Maps are the standard mapping platforms used within China. Chinafy detects Google Maps on websites and can replace them with a China-compatible alternative so that visitors in China see a working map without requiring you to rebuild the page or maintain a separate site.
No. Google Maps is not accessible from within China. This applies to Google Maps on the web (maps.google.com), the Google Maps mobile apps, and the Google Maps APIs, including the JavaScript API, Embed API, Static Maps API, and Geocoding API.
Google stopped supporting its China-specific Maps API endpoint in February 2020, which means even the workaround that some developers previously relied on (using maps.google.cn instead of maps.google.com) is no longer an option.
This is part of a broader pattern: all Google services, including Google Search, Gmail, Google Fonts, Google Analytics, YouTube, and Google Drive, are inaccessible from within China. For any website that relies on Google services as part of its functionality, this creates a set of compatibility issues that need to be addressed specifically for China visitors.
If your website includes a Google Maps embed or uses the Google Maps JavaScript API, here's what a visitor in China will experience:
If the map is loaded asynchronously (which is more common), the rest of the page will usually render (unless there are other render-blocking assets that have failed), but the map section will appear as a blank space, a grey box, or a broken element. The visitor will see the rest of your page, but any location, directions, or store locator functionality powered by Google Maps will be missing entirely.
If the map script is loaded synchronously or is render-blocking, the entire page can stall while the browser waits for a response from Google's servers. The browser will keep trying to connect until the request times out, which can take 30 seconds or longer. During that time, the visitor may see a partially loaded page or nothing at all.
In both cases, the experience is poor. And on pages where the map is a primary element (a contact page with a location, a hotel page showing nearby attractions, a store locator, or a real estate listing), the loss of the map can remove a significant part of the page's value.
Google Maps doesn't exist in isolation on most websites. A single Google Maps embed can load multiple resources from Google's servers:
The Google Maps JavaScript API (maps.googleapis.com)
Map tile images
Geocoding and directions API calls
Associated Google libraries and dependencies
Each of these is a separate request to a Google domain. In China, each of these requests will either time out or fail entirely. If any of these resources are render-blocking, the browser queues up behind them, waiting for a response before it can continue building the page.
Even in cases where the map loads asynchronously and doesn't directly block page rendering, the failed requests still consume browser resources. The browser opens connections, waits for responses that never come, and eventually gives up. On mobile devices with limited processing power, this background overhead can slow down the rendering of everything else on the page.
The practical impact goes beyond just a missing map. If your site has a Google Maps embed on a page that also loads other slow or blocked third-party resources, the combined effect of multiple failed requests can make the page significantly slower or cause it to break in ways that aren't immediately obvious.
A CDN (content delivery network) speeds up delivery of your own content by caching it at edge servers closer to your visitors. But a CDN doesn't serve or proxy third-party resources from external domains.
When your website loads Google Maps, the request goes directly from the visitor's browser to maps.googleapis.com. Your CDN has no involvement in that request, no matter where your CDN nodes are located. The request is between the visitor and Google's infrastructure, and since Google's services are inaccessible from China, the CDN can't do anything about it.
This is true for all third-party resources, but it's especially relevant for Google Maps because the failure is absolute: it's not just slow, it doesn't load at all. A CDN might help with general latency improvements for your first-party content, but it won't fix a broken map embed.
Even beyond the access issue, there's a technical detail that's worth understanding if you're implementing mapping functionality for China.
China uses a coordinate system called GCJ-02, which is mandated by the Chinese government for all mapping services operating in the country. GCJ-02 applies a deliberate, non-linear offset to geographic coordinates compared to the global standard (WGS-84) used by GPS and most international mapping platforms, including Google Maps.
The offset is variable, meaning it's not a consistent shift that can be corrected with a simple calculation. Locations can appear 100 to 700 metres away from their actual position. This means that if you were to plot a WGS-84 coordinate (from Google Maps or standard GPS data) directly onto a Chinese mapping service that uses GCJ-02, the pin would land in the wrong place.
All mapping services authorized to operate in China, including Baidu Maps, Gaode Maps, and Tencent Maps, use GCJ-02 or their own variant of it. Baidu Maps uses a further modified coordinate system called BD-09, which adds an additional layer of offset on top of GCJ-02.
For websites with mapping functionality, this matters because you can't simply take coordinates from Google Maps and drop them into a Chinese map service. The coordinates need to be converted. Open-source conversion libraries exist for this purpose, but it's an additional step that can trip up teams who aren't aware of the issue.
There are three primary mapping platforms used in China, each with its own strengths.
Baidu Maps is the most widely used mapping service in China, with over 700 million users. It offers a comprehensive JavaScript API with support for interactive maps, geocoding, routing, street view, and traffic data. The API and documentation are in Chinese, and registering a developer account requires a Chinese phone number and business license, which can be a barrier for international companies. Baidu Maps uses the BD-09 coordinate system.
Gaode Maps, also known as Amap, is the second-largest mapping platform in China and is part of the Alibaba ecosystem. It offers the best English-language support among Chinese mapping services, with locations showing both English and Chinese labels. Gaode Maps is also the data source for Apple Maps in China. It uses the GCJ-02 coordinate system.
Tencent Maps, backed by Tencent (the parent company of WeChat), is the third major option. It has a smaller market share than Baidu Maps or Gaode Maps but is widely used within the WeChat ecosystem. Tencent Maps also uses the GCJ-02 coordinate system.
For websites serving visitors in China, the choice between these services depends on factors like language support needs, the mapping features your site requires, and whether you have the ability to register for Chinese developer accounts.
If your website uses Google Maps, there are a few approaches to make mapping work for China visitors.
1. Manually replace Google Maps with a Chinese alternative. You can remove the Google Maps embed or API call and replace it with a Baidu Maps, Gaode Maps, or Tencent Maps implementation. This gives you full control but requires development work: registering for a Chinese maps API account, converting your location coordinates from WGS-84 to the appropriate Chinese coordinate system, and rebuilding any map functionality (markers, info windows, routing, etc.) using the new API. You'll also need to decide whether to serve the Chinese map to all visitors or conditionally load it based on the visitor's location, which adds further complexity.
2. Use conditional loading based on visitor location. Some teams implement geo-detection to serve Google Maps to visitors outside China and a Chinese mapping service to visitors in China. This preserves the Google Maps experience for your global audience while providing a working map for China visitors. The trade-off is additional development and maintenance overhead, as you're now running two parallel mapping implementations.
3. Use a platform that handles the replacement automatically. Rather than manually rebuilding or maintaining conditional logic, you can use Chinafy, which detects any single-location Google Maps and replaces it with a China-compatible alternative as part of a broader China web optimization process. Multi-location maps as generated via Google Maps Javascript API may require a more manual process.
Chinafy detects Google Maps embeds and API calls on your website and replaces them with a China-compatible mapping alternative for visitors in China, so the map section of your site works instead of showing a blank space or broken element.
This is part of Chinafy's broader approach to optimizing websites for China. Google Maps is one of many third-party resources that don't work in China. Chinafy handles these incompatibilities across the board, including Google Fonts, Google Analytics, Google reCAPTCHA, YouTube embeds, Facebook plugins, and an inexhaustible list of other services. The optimization works as a bolt-on to your existing website without requiring a rebuild, rehost, or separate site for China.
For companies with using Google Maps (hotels showing nearby locations, real estate listings, store locators, contact pages with directions), fixing the issue is often one of the most visible improvements for China visitors. A page that previously showed a broken grey box now shows a working, interactive map.
If your website uses Google Maps and you have visitors in China, get in touch with Chinafy for a free site analysis to see how your pages load in the region.
Yes. Google Maps, including the web version, mobile apps, and all Maps APIs (JavaScript API, Embed API, Static Maps API, Geocoding API), is inaccessible from within China. Google's China-specific Maps API endpoint was also discontinued in February 2020.
The three main alternatives are Baidu Maps (largest user base, Chinese-language only), Gaode Maps/Amap (best English support, used by Apple Maps in China), and Tencent Maps (integrated with the WeChat ecosystem). Or choose Chinafy as an option if you want to keep Google Maps on your global site while delivering a China-compatible alternative to visitors in China.
Yes, through conditional loading based on visitor location. You can serve Google Maps to visitors outside China and a Chinese mapping service to visitors in China. However, this requires maintaining two parallel implementations and handling coordinate system conversions. Chinafy automates this process without requiring you to build or maintain the conditional logic.
You can't control whether your visitors use a VPN, and most don't. Your website needs to work for the majority of visitors in China, who access the internet without a VPN. Even with a VPN, Google Maps faces accuracy issues in China due to the GCJ-02 coordinate system offset.
It can. If the Google Maps script is loaded synchronously or is render-blocking, the entire page can stall for 30+ seconds while the browser waits for the request to time out. Even when loaded asynchronously, the failed requests still consume browser resources and can slow down overall page performance, especially on mobile devices.
Chinafy detects Google Maps on your website and replaces it with a China-compatible mapping alternative for visitors in China without changing your existing website. This happens as part of Chinafy's broader optimization process and doesn't require changes to your existing site code or a separate site build.


