Type of site | Web mapping |
---|---|
Available in | Chinese |
Owner | Baidu |
URL | Baidu Maps |
Commercial | Yes |
Launched | 2005 |
Current status | Active |
Baidu Maps is a desktop and mobile web mapping service application and technology provided by Baidu, offering satellite imagery, street maps, street view ("Panorama" - zh:百度全景) and indoor view[1] perspectives, as well as functions such as a route planner for traveling by foot, car, or with public transport. Android and iOS applications are available.
Baidu Maps is available only in the Chinese language and, before 2016, it offered only maps of mainland China, Hong Kong, Macau and Taiwan, with the rest of the world appearing unexplored.[2] Currently Baidu Maps also offers maps of various other countries.[citation needed] It was reported that more than 150 countries would be supported by the end of 2016.[3] Baidu uses map data supplied by NavInfo, MapKing, Here, LocalKing and OpenStreetMap.[4]
In 2016, it was reported that Baidu Maps had over 348 million monthly active users.[5]
Baidu Maps uses a variant of web Mercator projection for slicing map data into tiles, with distances expressed in degrees. It's associated with an underlying latitude-longitude reference. However, the reference uses the BD-09 coordinate system, which adds further obfuscation to the already obscure national standard in China, GCJ-02[9] (which in turn is defined in terms of the de facto standard around the world, WGS 84). Baidu alleges that adopting BD-09 "protects users' privacy".[10]
The Baidu Maps API documentation specifies that "real" (WGS-84) GPS coordinates must be converted via a coordinate conversion interface.[11] An HTTP interface, JavaScript API, Android SDK, and iOS SDK are available.
The JavaScript coordinate conversion API is demonstrated online by Baidu, but without any reverse (to GCJ-02) conversion capabilities.[12] Open source implementations in R[13] and various other languages[14] exist, implemented in a manner much like the reverse GCJ-02 algorithm.
BD-09's lat-lon coordinates are derived by scrambling a polar version of GCJ-02 coordinates and adding a fixed offset:[13]
from cmath import polar, rect
from math import sin, cos, pi
# Represent coordinates with complex numbers for simplicity
coords = complex
# baidu assumes x/real: lon; y/imag: lat here.
def gcj_bd(gcj: coords) -> coords:
r, θ = polar(gcj)
r += 2e-5 * sin(gcj.imag * pi * 3000 / 180)
θ += 3e-6 * cos(gcj.real * pi * 3000 / 180)
return rect(r, θ) + (0.0065 + 0.006j)
The street view service of Baidu Maps was first launched on August 21, 2013.[15] This is a list of cities supported as of March 11, 2015:
Further information: Internet censorship in India |
In June 2020, the Indian Government blocked Baidu Maps, as well as 58 other Chinese apps, citing national security concerns.[16][17] That came after clashes between the People's Liberation Army Ground Force and the Indian Army in the Galwan Valley.[18]