React leaflet 在图像上绘制单张
我正在尝试使用react传单的绘图功能,其中不绘制地图,而是在图片上绘制 现在我必须使用里面的函数,你有什么建议吗?或者如果做不到的话React leaflet 在图像上绘制单张,react-leaflet,react-leaflet-draw,React Leaflet,React Leaflet Draw,我正在尝试使用react传单的绘图功能,其中不绘制地图,而是在图片上绘制 现在我必须使用里面的函数,你有什么建议吗?或者如果做不到的话 <Map center={center} zoom={ZOOM_LEVEL} ref={mapRef} > < Image /> <FeatureGroup> <EditControl position="topri
<Map center={center} zoom={ZOOM_LEVEL} ref={mapRef} >
< Image />
<FeatureGroup>
<EditControl
position="topright"
onCreated={_onCreate}
onEdited={_onEdited}
onDeleted={_onDeleted}
draw={{
rectangle: false,
polyline: false,
circle: false,
circlemarker: false,
marker: false,
}}
/>
</FeatureGroup>
</Map>