Skip to content

Commit

Permalink
refactor: fix frontend Map
Browse files Browse the repository at this point in the history
  • Loading branch information
elraro committed May 22, 2023
1 parent f3edd4d commit 020b8f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,16 @@ abstract class Map<P, S> extends React.Component<P & MapProps, S & MapState > {

this.updateDrawableComponents().then(() => {
this.draw();
}).catch(() => {
/* intentional */
});
}

protected redrawLayers() : void {
this.mapLayerManager.draw(this.props.rawMap, this.props.theme).then(() => {
this.draw();
}).catch(() => {
/* intentional */
});
}

Expand Down

0 comments on commit 020b8f3

Please sign in to comment.