diff --git a/google-map.html b/google-map.html index be150d9..75609ac 100644 --- a/google-map.html +++ b/google-map.html @@ -8,16 +8,41 @@ --> + @@ -50,13 +75,76 @@ Polymer('google-map', { - latitude: '37.77493', - longitude: '-122.41942', + /** + * A latitude to center the map on. + * + * @attribute latitude + * @type number + * @default 37.77493 + */ + latitude: 37.77493, + + /** + * A longitude to center the map on. + * + * @attribute longitude + * @type number + * @default -122.41942 + */ + longitude: -122.41942, + + /** + * A zoom level to set the map to. + * + * @attribute zoom + * @type number + * @default 10 + */ zoom: 10, + + /** + * When set, displays a map marker at the center point. + * + * @attribute showCenterMarker + * @type boolean + * @default false + */ showCenterMarker: false, + + /** + * Map type to display. One of 'roadmap', 'satellite', 'hybrid', 'terrain'. + * + * @attribute mapType + * @type string + * @default roadmap + */ mapType: 'roadmap', // roadmap, satellite, hybrid, terrain + + /** + * Version of the Google Maps API to use. + * + * @attribute version + * @type string + * @default 3.exp + */ version: '3.exp', + + /** + * If set, indicates a sensor (such as a GPS locator) was used to determine the user's location. + * + * @attribute sensor + * @type boolean + * @default false + */ sensor: false, + + /** + * If set, removes the map's default UI controls. + * + * @attribute disableDefaultUI + * @type boolean + * @default false + */ disableDefaultUI: false, observe: {