Closed anshumansworld closed 1 year ago
Hello @anshumansworld you can do them as such: https://www.datocms.com/docs/content-delivery-api/filtering-records#lat_lon
The radius is specified in meters, forming a circle with the central point being the latitude and longitude you specified
The question was related to gatsby plugin. How can I do the same in gatsby plugin? @marcelofinamorvieira
Is it possible to use
near
filter on location data?e.g.
filter: {location: {near: {latitude: "", longitude: "", radius: ""}}}