however, looking at the type for PointAnnotationProps, i see that coordinate: Array<string>. Example:
interface PointAnnotationProps { coordinate: Array<string>; ... }
is there a reason for this? It seems to make sense to me for everything to be Array<number>, but i wanted to ask here first as this is causing type errors. Thanks a ton in advance for the help! 😄
looking at index.d.ts, i've noticed that for coordinates, it's always of type
Array<number>.
for example,interface MapViewProps extends ViewProperties { centerCoordinate?: Array<number>; ...... }
however, looking at the type for
PointAnnotationProps,
i see thatcoordinate: Array<string>
. Example:interface PointAnnotationProps { coordinate: Array<string>; ... }
is there a reason for this? It seems to make sense to me for everything to be
Array<number>,
but i wanted to ask here first as this is causing type errors. Thanks a ton in advance for the help! 😄