Skip to content

Commit

Permalink
fixed camel case prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbllmnn committed Mar 20, 2018
1 parent 1ea4e81 commit eca37da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Button/GeoLocationButton/GeoLocationButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class GeoLocationButton extends React.Component {
* The openlayers tracking options.
* @type {Object}
*/
trackingOptions: PropTypes.object
trackingoptions: PropTypes.object
};

/**
Expand All @@ -95,7 +95,7 @@ class GeoLocationButton extends React.Component {
onError: () => undefined,
showMarker: true,
follow: true,
trackingOptions: {
trackingoptions: {
maximumAge: 10000,
enableHighAccuracy: true,
timeout: 600000
Expand Down Expand Up @@ -188,7 +188,7 @@ class GeoLocationButton extends React.Component {
// Geolocation Control
this.geolocationInteraction = new OlGeolocation({
projection: view.getProjection(),
trackingOptions: this.props.trackingOptions
trackingOptions: this.props.trackingoptions
});
this.geolocationInteraction.setTracking(true);
if (this.props.showMarker) {
Expand Down

0 comments on commit eca37da

Please sign in to comment.