MapPoint

Marker lat/lng for a parent Map. Renders editor chrome only; live site uses data from props.

Required Props: id, lat, lng

Structure

All styling goes in props.className as a single Tailwind utility string. Non-class props (text, src, alt, etc.) stay on their own keys. root.animation for scroll effects.

Properties

PropertyTypeDescriptionExamples
latnumber
Marker latitude
40.7128
lngnumber
Marker longitude
-74.006
titlestring
Popup title
Default: ""
-
descriptionstring
Popup body text
Default: ""
-
canDeleteboolean
-
Default: true
-
canEditNameboolean
-
Default: true
-
customobject
-
-
classNamestring
Tailwind utility classes string. Mobile-first: unprefixed = base, md: = 768px+, sm: = 640px+, lg: = 1024px+. Includes layout, spacing, surface design, and typography.
flex flex-col gap-space-sm py-space-lg px-container-x md:flex-rowbg-primary text-primary-content rounded-box py-3.5 px-6 font-semibold
rolestring
-
-
aria-labelstring
-
-
aria-hiddenstring
-
-
aria-describedbystring
-
-
aria-livestring
polite | assertive | off
-
-
rootobject
-
-

Examples

Store Location

{
  "lat": 40.7128,
  "lng": -74.006,
  "title": "Main Store",
  "description": "123 Main St, New York"
}