lukemadera / meteor-autoform-googleplace

Google Places Autocomplete input (without map). Returns an object with formatted address components
21 stars 19 forks source link

Is it possible to get simple MongoDB geolocation point ? #8

Closed abdelba closed 9 years ago

abdelba commented 9 years ago

I mean having something like:

LocationSchema = new SimpleSchema({
  type: {
    type: String,
    allowedValues: ['Point'],
    defaultValue: 'Point'
  },
  coordinates: {
    type: [Number],
    decimal: true
  }
});
lukemadera commented 9 years ago

Geometry point should already be returned: https://github.com/lukemadera/meteor-autoform-googleplace/commit/f0bb82a58067814c99385402db145935cbf4547d