
grails.mongodb.geo._point.gson Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of views-json-templates Show documentation
Show all versions of views-json-templates Show documentation
Provides additional view technologies to the Grails framework, including JSON and Markup views.
The newest version!
/**
* A template for rendering a GeoJSON Point in MongoDB
*/
import grails.mongodb.geo.*
import groovy.transform.Field
@Field Point point
json {
type "Point"
coordinates point.asArray()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy