disable globeIndex tile lines

This commit is contained in:
Matthias Wirth
2020-03-05 15:16:50 +01:00
parent fc70ed8003
commit e5d9bcfbdc

View File

@@ -440,7 +440,7 @@ function fetchData() {
}
if (globeIndex) {
globeTrackedAircraft = data.global_ac_count_withpos;
if (globeIndexNow[data.globeIndex] == null) {
if (localStorage['globeGrid'] == 'true' && globeIndexNow[data.globeIndex] == null) {
var southWest = ol.proj.fromLonLat([data.west, data.south]);
var south180p = ol.proj.fromLonLat([180, data.south]);
var south180m = ol.proj.fromLonLat([-180, data.south]);