Skip to content

Commit

Permalink
remove sensor URL parameter since it is no longer required
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Jun 3, 2014
1 parent 1a47b3e commit 9c1a2d8
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions google-map.html
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
- Handle removals and support .innerHTML = ''.
- Use <google-maps-api>.api instead of google.maps namespace.
-->
<polymer-element name="google-map" attributes="apiKey latitude longitude zoom showCenterMarker version sensor map mapType disableDefaultUI fitToMarkers">
<polymer-element name="google-map" attributes="apiKey latitude longitude zoom showCenterMarker version map mapType disableDefaultUI fitToMarkers">
<template>

<style>
Expand All @@ -272,7 +272,7 @@

</style>

<google-maps-api apiKey="{{apiKey}}" version="{{version}}" sensor="{{sensor}}" on-api-load="{{mapApiLoaded}}"></google-maps-api>
<google-maps-api apiKey="{{apiKey}}" version="{{version}}" on-api-load="{{mapApiLoaded}}"></google-maps-api>

<div id="map"></div>

Expand Down Expand Up @@ -345,15 +345,6 @@
*/
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.
*
Expand Down

0 comments on commit 9c1a2d8

Please sign in to comment.