1.2.0 • Published 1 month ago

@hatchd/sanity-plugin-get-coordinates v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Get Coordinates! A Sanity Studio plugin

Enter an address and get coordinates for it. The coordinate can be used with your map services on the front end.

This is a Sanity Studio v3 plugin.

Installation

npm install @hatchd/sanity-plugin-get-coordinates

Usage

Add it as a plugin in sanity.config.ts (or .js):

import {defineConfig} from 'sanity'
import {getCoordinates} from '@hatchd/sanity-plugin-get-coordinates'

export default defineConfig({
  //...
  plugins: [getCoordinates()],
})

In your document schemas, add it as a 'coordinates' type. For an example:

{
  title: "Location Coordinates",
  name: "location",
  type: "coordinates"
}

License

MIT © Grant Deelstra | Hatchd

1.2.0

1 month ago

1.0.1

1 month ago

1.0.0

2 months ago

1.1.2

2 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.6

2 years ago