added new geo coder details
This commit is contained in:
parent
d31adcba66
commit
4f28573ee8
@ -32,6 +32,12 @@ const LocationModel = Backbone.Model.extend({
|
||||
'initialize': function() {
|
||||
// this.listenTo(this, 'change sync reset', this.onChange);
|
||||
|
||||
// https://opencagedata.com/dashboard
|
||||
|
||||
//
|
||||
// API key
|
||||
// 893ab539eca84b5ca7a54cb03ef23443
|
||||
|
||||
const geoOptions = {
|
||||
'maximumAge': 5 * 60 * 1000,
|
||||
'timeout': 10 * 1000
|
||||
@ -58,7 +64,7 @@ const LocationModel = Backbone.Model.extend({
|
||||
this.processPosition(location);
|
||||
this.throttler = now.getTime() + 1000;
|
||||
}
|
||||
else
|
||||
else
|
||||
console.log('Throttling location update...');
|
||||
|
||||
// this.set('location', location);
|
||||
|
Loading…
Reference in New Issue
Block a user