app/javascript/react/components/Map/Markers/CustomMarker.tsx
Function onAdd
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onAdd() {
this.div = document.createElement("div");
this.div.style.position = "absolute";
this.div.style.cursor = "pointer";
this.div.title = this.title;