Skip to content

Commit

Permalink
[Enhancement] Render geocode in readOnly mode (keplergl#1177)
Browse files Browse the repository at this point in the history
Signed-off-by: Shan He <[email protected]>
  • Loading branch information
heshan0131 authored Jul 31, 2020
1 parent c942b9e commit 9d5a4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/kepler-gl.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ function KeplerGlFactory(
splitMaps={splitMaps}
/>
)}
{!uiState.readOnly && interactionConfig.geocoder.enabled && (
{interactionConfig.geocoder.enabled && (
<GeoCoderPanel
isGeocoderEnabled={interactionConfig.geocoder.enabled}
mapboxApiAccessToken={mapboxApiAccessToken}
Expand Down

0 comments on commit 9d5a4c0

Please sign in to comment.