acklen-keystone
Version:
Web Application Framework and Admin GUI / Content Management System built on Express.js and Mongoose
13 lines (8 loc) • 298 B
Markdown
# GeoPoint Field
Stores an `Array` of `Number` values in the model.
Displayed as two text input fields in the Admin UI.
## Example
```js
{ type: Types.GeoPoint }
```
Uses MongoDB's [2dsphere](https://docs.mongodb.com/manual/core/2dsphere/) index to add the longitude / latitude pair to schema.