@indoor-map/fmap-react • Docs
FMapMarker(
props,deprecatedLegacyContext?):ReactNode
声明式覆盖物组件 通过 React 组件的方式在地图上添加覆盖物
Parameters
• props: FMapMarkerProps
• deprecatedLegacyContext?: any
Deprecated
See
Returns
ReactNode
Example
tsx
<FMapMarker type="image" x={12345} y={67890} url="/icon.png" size={32} />
<FMapMarker type="text" x={12345} y={67890} text="商铺A" />