Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props) {
super(props);
this.state = {
viewport: {
longitude: -122.40677,
latitude: 37.78949,
zoom: 12.76901,
startDragLngLat: null,
isDragging: false
},
points: Immutable.fromJS(initialPoints)
};
autobind(this);
}
constructor(props) {
super(props);
this.state = {
viewport: {
latitude: location.latitude,
longitude: location.longitude,
zoom: 11,
bearing: 180,
pitch: 60,
startDragLngLat: null,
isDragging: false
},
mapStyle: buildStyle({stroke: '#FF00FF', fill: 'green'})
};
autobind(this);
}
constructor(props) {
super(props);
this.state = {
viewport: {
latitude: location.latitude,
longitude: location.longitude,
zoom: 11,
startDragLngLat: null,
isDragging: false
}
};
autobind(this);
}