skip to Main Content

Javascript – React leaflet make one marker ignore it's events, so other can be clicked

I have code like this: return <React.Fragment key={i + 100}> <MapMarker obj={object} key={i} position={positionMap[i]} icon={objIcon} objName={convDataArr[1]} objType={convDataArr[2]} objStatus={convDataArr[3]} objcoalition={convDataArr[4]} objUnderAttack={convDataArr[5]} objNumUnits={convDataArr[6]} pane={convDataArr[2]} zIndexOffset={100} //riseOnHover={true} ></MapMarker> <FlameMarker key={i + 1000} position={positionMap[i]} icon={iconArray[21]} > </FlameMarker> </React.Fragment> which outputs 2 markers. FlameMarker is…

VIEW QUESTION
Back To Top
Search