JSPM

@sanity/google-maps-input

2.36.0-v2-studio.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6329
  • Score
    100M100P100Q135077F
  • License MIT

Sanity plugin providing input handlers for geo-related input types using Google Maps

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-v2

Next, 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

Slack Community Button

Join Sanity’s developer community or ping us on twitter.