Koala logo Design
Esc
No matches for “
↑↓ navigate open Esc close
Components Property map

Property map

Compact View map and Google Earth actions for property addresses. The modal lazily boots Google Maps on first open, offers Map, Satellite, 3D, and Street view modes, and falls back to an embedded Google Maps frame if map tiles do not load.

<koala-property-map>

Canonical

Map Satellite 3D Street view

The helper emits the action pair inline. The modal uses a full-height mobile sheet and a square desktop map area with one four-way segmented control.

Variants

4 modes
Map
Map
Roadmap tiles with the address pin centred.
Satellite
Satellite
Default opening mode. Hybrid imagery with labels.
3D
3D
Hybrid imagery, zoomed and tilted where supported.
Street view
Street view
Outdoor panorama near the geocoded property.

States

3 states
Loaded
Tiles rendered, pin centred.
Skeleton
Before Google Maps boots.
Location not available
No address
Address blank or geocoding failed.

Props

usage notes
Prop / contract Notes
addressRequired formatted address string. Blank addresses suppress the helper.
GoogleMaps:ApiKeyRequired configuration. Without it, the helper renders nothing and the layout skips the Maps API script.
initPropertyMapsThe layout defines this global callback before loading the async Google script, then flushes queued map initialisers once the API is ready.
propertyMap(address, mapsUrl)Alpine component owned by the layout. It queues first-open initialisation until Google Maps is ready.
Fallback embedMap, Satellite, and 3D modes swap to a Google Maps iframe when JS map tiles do not report loaded quickly. Street view remains JS API-backed.
Google EarthInline external anchor next to View map with target="_blank" to earth.google.com.

Do & don't

Map Satellite 3D Street
Do Keep one stable segmented control in the map chrome so users can switch modes without hunting around the modal.
Map Satellite 3D Street Earth Layers Pan
Don't Don't crowd the top edge. The map disappears under the chrome and nothing is glanceable.