Skip to content

Commit

Permalink
fix: changed the marker(default) value string to number (#15217)
Browse files Browse the repository at this point in the history
  • Loading branch information
techbhavin committed Jul 20, 2022
1 parent 3933f5f commit 7ecca95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/client/src/widgets/MapWidget/component/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const MyMapComponent = withGoogleMap((props: any) => {
onDragEnd={(de) => {
props.updateMarker(de.latLng.lat(), de.latLng.lng(), index);
}}
position={{ lat: marker.lat, lng: marker.long }}
position={{ lat: Number(marker.lat), lng: Number(marker.long) }}
title={marker.title}
/>
))}
Expand Down

0 comments on commit 7ecca95

Please sign in to comment.