"Reset Map" deselects plane correctly.
modified: public_html/script.js
This commit is contained in:
parent
10e33892e8
commit
0e3426d46b
|
@ -570,7 +570,11 @@ function resetMap() {
|
|||
// Set and refresh
|
||||
GoogleMap.setZoom(parseInt(ZoomLvl));
|
||||
GoogleMap.setCenter(new google.maps.LatLng(parseFloat(CenterLat), parseFloat(CenterLon)));
|
||||
Selected = null;
|
||||
|
||||
if (SelectedPlane) {
|
||||
selectPlaneByHex(SelectedPlane);
|
||||
}
|
||||
|
||||
refreshSelected();
|
||||
refreshTableInfo();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue