Includes enterprise licensing and support
This document provides detailed reference documentation for the raw protocol (XML and HTTP) for the Maps Data API.
This document doesn't contain information about the programming-language client libraries. For client-library reference information, see the links from the programming-language-specific sections of the developer's guide.
This document is intended for programmers who want to write client applications that can interact with Maps. It's a reference document; it assumes that you understand the concepts presented in the developer's guide, and the general ideas behind the Google Data APIs protocol.
The Maps Data API provides the following types of feeds:
The Map Feed is a feed of user-created maps.
This feed's full GET URI is:
http://maps.google.com/maps/feeds/maps/default/full
This feed returns a list of all maps for the authenticated user. Each map is returned as a separate entry, though full feature information is only retrieved via the feature feed URLs below.
Additionally, the following request types are supported for operations on maps:
GET http://maps.google.com/maps/feeds/maps/userID/full/mapIDPOST http://maps.google.com/maps/feeds/maps/userID/fullPUT http://maps.google.com/maps/feeds/maps/userID/full/mapIDDELETE http://maps.google.com/maps/feeds/maps/userID/full/mapIDPOST http://maps.google.com/maps/feeds/maps/userID/full/batchSupported query parameters:
The Feature Feed is a feed of map features.
This feed's full GET URI is:
http://maps.google.com/maps/feeds/features/userID/mapID/full
This feed returns a list of all features for the given map for the authenticated user. Each feature is returned as a separate entry.
Additionally, the following request types are supported for operations on features:
GET http://maps.google.com/maps/feeds/features/userID/mapID/full/featureIDPOST http://maps.google.com/maps/feeds/features/userID/mapID/fullPUT http://maps.google.com/maps/feeds/festures/userID/mapID/full/featureIDDELETE http://maps.google.com/maps/feeds/festures/userID/mapID/full/featureIDPOST http://maps.google.com/maps/feeds/features/userID/mapID/full/batchSupported query parameters:
In addition to the standard Data API query parameters, Maps uses the following optional parameters:
| Parameter | Description | Type | Notes |
|---|---|---|---|
showdeleted |
Should tombstones be returned. | boolean |
The Maps Data API uses the standard Atom elements, and some standard Google Data elements. For information about these standard elements, see the Atom specification and the Kinds document.
In addition to the standard elements, the Maps Data API uses the elements described in this section.
The elements specific to this Data API are defined in the following namespace:
| Alias | URI | Description | Elements |
|---|---|---|---|
| atom | http://www.w3.org/2005/Atom | Atom | atom:link, atom:link, atom:link, atom:category, atom:entry, atom:feed, atom:link, atom:link, atom:content, atom:category, atom:entry, atom:feed, atom:link, atom:link, atom:link, atom:category, atom:entry, atom:feed |
The following table describes the symbols used to mark properties in the element-reference sections.
| Symbol | Description |
|---|---|
@propertyName |
Property is an attribute. |
propertyName? |
Property is optional. |
propertyName+ |
At least one instance of property is required. |
| propertyName (no symbol) | Exactly one instance of property is required. |