Package Exports
- @sanity/google-maps-input
- @sanity/google-maps-input/lib/input/GeopointInput.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@sanity/google-maps-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@sanity/google-maps-input
This is a Sanity Studio v2 plugin. For the v3 version, please refer to the v3-branch.
Plugin for Sanity Studio providing input handlers for geo-related input types using Google Maps.
Installation
In your studio folder, run:
yarn add @sanity/google-maps-input@studio-v2Next, add "@sanity/google-maps-input" to sanity.json plugins array:
"plugins": [
"@sanity/google-maps-input"
]Then add a valid Google Maps API key into ./example/config/@sanity/google-maps-input.json.
Stuck? Get help
Join Sanity’s developer community or ping us on twitter.