CalloutProps
CalloutProps =
object
Defined in: packages/expo-arcgis/src/Callout.tsx:18
Properties
Section titled “Properties”colors?
Section titled “colors?”
optionalcolors?:object
Defined in: packages/expo-arcgis/src/Callout.tsx:55
The Kotlin Toolkit’s CalloutColors.
backgroundColor?
Section titled “backgroundColor?”
optionalbackgroundColor?:ColorValue
borderColor?
Section titled “borderColor?”
optionalborderColor?:ColorValue
Default
Section titled “Default”the Material theme'sPlatform
Section titled “Platform”android
geoElement?
Section titled “geoElement?”
optionalgeoElement?:GraphicRef|FeatureRef|null
Defined in: packages/expo-arcgis/src/Callout.tsx:25
What the callout points at, and follows as it moves: a <Graphic> ref, or the ref of a
feature from the view’s identify.
leaderPosition?
Section titled “leaderPosition?”
optionalleaderPosition?:"automatic"|"upperLeftCorner"|"upperMiddle"|"upperRightCorner"|"rightMiddle"|"lowerRightCorner"|"lowerMiddle"|"lowerLeftCorner"|"leftMiddle"
Defined in: packages/expo-arcgis/src/Callout.tsx:44
Where the leader sits on the callout; 'automatic' picks the side with the most room.
Default
Section titled “Default”'lowerMiddle'Platform
Section titled “Platform”android — the Swift callout places its leader itself.
location?
Section titled “location?”
optionallocation?:CalloutLocation|null
Defined in: packages/expo-arcgis/src/Callout.tsx:20
Where the callout points. Ignored while geoElement is set.
offset?
Section titled “offset?”
optionaloffset?:object
Defined in: packages/expo-arcgis/src/Callout.tsx:29
Moves the callout from location, right and down, in points.
x:
number
y:
number
Default
Section titled “Default”{ x: 0, y: 0 }rotateOffsetWithGeoView?
Section titled “rotateOffsetWithGeoView?”
optionalrotateOffsetWithGeoView?:boolean
Defined in: packages/expo-arcgis/src/Callout.tsx:34
Turns the offset with the view as it rotates (Swift’s allowsOffsetRotation).
Default
Section titled “Default”falseshapes?
Section titled “shapes?”
optionalshapes?:object
Defined in: packages/expo-arcgis/src/Callout.tsx:61
The Kotlin Toolkit’s CalloutShapes, in dp.
borderWidth?
Section titled “borderWidth?”
optionalborderWidth?:number
contentPadding?
Section titled “contentPadding?”
optionalcontentPadding?:number
Padding around the content.
Default
Section titled “Default”cornerRadius + borderWidth / 2cornerRadius?
Section titled “cornerRadius?”
optionalcornerRadius?:number
leaderSize?
Section titled “leaderSize?”
optionalleaderSize?:object
leaderSize.height
Section titled “leaderSize.height”height:
number
leaderSize.width
Section titled “leaderSize.width”width:
number
minSize?
Section titled “minSize?”
optionalminSize?:object
minSize.height
Section titled “minSize.height”height:
number
minSize.width
Section titled “minSize.width”width:
number
Default
Section titled “Default”{ cornerRadius: 10, borderWidth: 2, leaderSize: { width: 12, height: 10 } }Platform
Section titled “Platform”android
style?
Section titled “style?”
optionalstyle?:StyleProp<ViewStyle>
Defined in: packages/expo-arcgis/src/Callout.tsx:39
The content’s own style: its padding, width and the like. Where it shows is the callout’s to decide.
tapLocation?
Section titled “tapLocation?”
optionaltapLocation?:CalloutLocation|null
Defined in: packages/expo-arcgis/src/Callout.tsx:27
With geoElement: where on it the user tapped, for a line or a polygon.