diff --git a/src/controls/map/Map.tsx b/src/controls/map/Map.tsx index d2170b195..0ccdc68fa 100644 --- a/src/controls/map/Map.tsx +++ b/src/controls/map/Map.tsx @@ -47,7 +47,7 @@ export class Map extends React.Component { public componentWillUpdate(nextProps: IMapProps, nextState: IMapState): void { if (!isEqual(this.props.coordinates, nextProps.coordinates)) { this.setState({ - coordinates: this.props.coordinates + coordinates: nextProps.coordinates }); } }