import React from "react"; import Maplibre from "@maplibre/maplibre-react-native"; import { createStyles, useTheme } from "~/theme"; import { CLUSTER_MIN_ZOOM_LEVEL, HITBOX_SIZE, textFont } from "./constants"; import AlertClusterCircleLayer from "./AlertClusterCircleLayer"; import AlertSymbolLayer from "./AlertSymbolLayer"; const hitbox = { width: HITBOX_SIZE, height: HITBOX_SIZE, }; const iconStyle = { iconImage: ["get", "icon"], iconSize: 0.5, }; const useStyles = createStyles(({ theme: { colors } }) => ({ clusterCount: { textField: "{point_count_abbreviated}", textSize: 12, textColor: colors.surface, textFont, }, })); export default function ShapePoints({ shape, children, ...shapeSourceProps }) { const styles = useStyles(); return ( {children} ); }