Geography Reference
In-Depth Information
Fig. 7 Adding a marker to a Baidu map. Baidu is a major Chinese website and map provider (Map
courtesy Baidu)
implementation of each. The example in Fig. 8 shows Mapstraction code that
allows using either the OpenLayers or Google API. To access the Google Maps
API, “openlayers” is simply changed to “googlev3” (see Fig. 9 ). Note that a link to
the mapping API in the third line of the code is also changed.
Search WWH ::




Custom Search