Skip to main content

Annotation

import { Annotation } from '@rnmapbox/maps';

Annotation

props

id

string

required FIX ME NO DESCRIPTION

animated

boolean

FIX ME NO DESCRIPTION

defaults to: false

animationDuration

number

FIX ME NO DESCRIPTION

defaults to: 1000

animationEasingFunction

func

FIX ME NO DESCRIPTION signature:(x:number) => number

defaults to: Easing.linear

coordinates

Array

required FIX ME NO DESCRIPTION

onPress

func

FIX ME NO DESCRIPTION signature:(event:OnPressEvent) => void

children

ReactElement | ReactElement[]

required FIX ME NO DESCRIPTION

style

object

FIX ME NO DESCRIPTION

icon

string | number | object

FIX ME NO DESCRIPTION

methods

onPress(event)

arguments

NameTypeRequiredDescription
eventOnPressEventYesundefined

symbolStyle()

arguments

NameTypeRequiredDescription