# Map location picker

> Adds a map pin picker to a web form, so users can choose and submit one exact spot like a delivery address.

- Page: https://youraiskill.com/skill/cyphercodes-location-picker
- What it does: Add a map location picker to a web form or web app with the location-picker npm package (the <location-picker> web component and the LocationPicker JavaScript class). Use it when a user must choose one precise latitude/longitude point on a map, such as a store, branch or sensor location, a delivery or pickup pin, an event venue, the place of a report or a home address, and the point must be submitted with a form, bound in React, Vue, Angular, Svelte, Solid or Preact, or written into hidden lat/lng inputs (Laravel, Django, Rails, jQuery, Livewire, Alpine, htmx). Covers the keyless OpenStreetMap default, Google Maps and MapLibre providers, address search, reverse geocoding, a locate-me button, parsing coordinates from text or map URLs, Content Security Policy, SSR and hydration, a phone-first field mode, the hosted pick link that asks a person for a location by URL, and upgrading location-picker 1.x or 2.x code (global locationPicker, getMarkerPosition, setCurrentPosition).
- Niches: frontend
- Licence: MIT
- Status: Checked: open licence, author credited, passed the YourAISkill safety scan. Can be added to a paid pack.
- Contents: instructions and reference files only (1 files)

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
