[view/map][xs]: additional name for geo column ('geo', 'lonlat').

This commit is contained in:
Rufus Pollock 2012-07-01 14:26:53 +01:00
parent 568eb1e034
commit a8b8c1a59a

View File

@ -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: ['geojson', 'geom','the_geom','geometry','spatial','location'],
geometryFieldNames: ['geojson', 'geom','the_geom','geometry','spatial','location', 'geo', 'lonlat'],
initialize: function(options) {
var self = this;