svelte-googlemaps
- Purpose: Provides Google Maps and Google Places Autocomplete components with a focus on efficient loading in Single Page Applications (SPAs). Supports Server-Side Rendering (SSR).
- Target Audience: Developers building Svelte applications requiring Google Maps or Places Autocomplete functionality.
- Key Features:
- Svelte Support: Includes
GoogleMap
andGooglePlacesAutocomplete
components designed for Svelte applications. - Efficiency: Optimized for loading Google components in SPAs.
- SSR Ready: Works with Server-Side Rendering.
- Svelte Support: Includes
- Components:
- GooglePlacesAutocomplete: A Google Places Autocomplete input field.
- Options:
ariaLabel
: Sets aria-label value (default:'location'
).on:placeChanged
: Event fired when a place is selected (excludes manual address entry).placeholder
: Custom placeholder text.styleClass
: Custom CSS classes for styling.
- Options:
- GoogleMap: A Google Maps component.
- GooglePlacesAutocomplete: A Google Places Autocomplete input field.
- Current Status: Documentation is a Work in Progress (WIP); users may need to inspect source code for advanced usage.
sveltegooglegooglemapsgoogle-mapsgmapsvanillajsvanilla-javascriptgeolocationmapsplacesssr
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button