polylines tooltip content
This commit is contained in:
12
components/gisPolylines/icons/CircleIcon.js
Normal file
12
components/gisPolylines/icons/CircleIcon.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// /components/gisPolylines/icons/CircleIcon.js
|
||||
import L from "leaflet";
|
||||
import "leaflet/dist/leaflet.css";
|
||||
|
||||
const CircleIcon = new L.DivIcon({
|
||||
className: "custom-circle-icon leaflet-marker-icon",
|
||||
html: '<div style="background-color:gray; width:10px; height:10px; border-radius:50%; border: solid black 1px;"></div>',
|
||||
iconSize: [25, 25],
|
||||
iconAnchor: [5, 5],
|
||||
});
|
||||
|
||||
export default CircleIcon;
|
||||
Reference in New Issue
Block a user