Skip to content

Commit

Permalink
fix: update click on parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
pjsier committed Oct 28, 2024
1 parent 99c347a commit c67ddc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/components/Map/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ class PraxisMap extends Component {
_handleMapClick = async (event) => {
const { hoveredFeature } = this.props.currentFeature
if (hoveredFeature) {
const [markerLongitude, markerLatitude] = event.lngLat
const { lng: markerLongitude, lat: markerLatitude } = event.lngLat

// set the marker based on event feature coords
this.props.dispatch(
Expand Down Expand Up @@ -348,6 +348,7 @@ class PraxisMap extends Component {
this._handleToggleLoadingIndicator(false)
}}
onMouseOut={() => this._removeTooltip()}
cursor={hoveredFeature ? "pointer" : "auto"}
>
{latitude && longitude ? (
<PraxisMarker
Expand Down

0 comments on commit c67ddc2

Please sign in to comment.