[view/map][xs]: use geojson field name if it exists.
This commit is contained in:
parent
ef74f13163
commit
11f2236ea8
@ -35,7 +35,7 @@ my.Map = Backbone.View.extend({
|
||||
// If not found, the user will need to define the fields via the editor.
|
||||
latitudeFieldNames: ['lat','latitude'],
|
||||
longitudeFieldNames: ['lon','longitude'],
|
||||
geometryFieldNames: ['geom','the_geom','geometry','spatial','location'],
|
||||
geometryFieldNames: ['geojson', 'geom','the_geom','geometry','spatial','location'],
|
||||
|
||||
initialize: function(options) {
|
||||
var self = this;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user