@terrestris/vectortiles
Version:
A simple library that makes use of free available world-wide terrestris vectortiles in MapBox MVT format from OpenStreetMap data
220 lines (219 loc) • 4.96 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.style_buildings = void 0;
var style_buildings = [{
'minResolution': 0,
'maxResolution': 1.2,
'style': {
'yes': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'house': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'apartments': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'terrace': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'garage': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'detached': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'dormitory': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'residential': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'university': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'school': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'hospital': {
'fillColor': '#ce8f8f',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'construction': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'chapel': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'cathedral': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'hotel': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'commercial': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'train_station': {
'fillColor': '#D1D1D1',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
}
}
}, {
'minResolution': 1.2,
'maxResolution': 2.4,
'style': {
'yes': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'house': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'apartments': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'terrace': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'garage': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'detached': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'dormitory': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'residential': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'university': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'school': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'hospital': {
'fillColor': '#ce8f8f',
'strokeColor': '#B3B3B3',
'textPlacement': 'point'
},
'construction': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'chapel': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'cathedral': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'hotel': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'commercial': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'train_station': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.7,
'strokeColor': '#B3B3B3',
'useLabels': false
}
}
}, {
'minResolution': 2.4,
'maxResolution': 5,
'style': {
'yes': {
'fillColor': '#D1D1D1',
'fillOpacity': 0.3,
'strokeColor': '#B3B3B3',
'useLabels': false
},
'hospital': {
'fillColor': '#ce8f8f',
'strokeColor': '#B3B3B3',
'useLabels': false
}
}
}];
exports.style_buildings = style_buildings;