mapa-gcba
Version:
Mapa Interactivo de la Ciudad de Buenos Aires
58 lines (57 loc) • 1.68 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.defaultOptions = exports.tileLayersGCBA = void 0;
const urls_1 = require("../urls/urls");
exports.tileLayersGCBA = {
baseLayers: {
wms: {
map: `${urls_1.WMSUrl}`,
layerName: `${urls_1.layerName}`,
format: "image/png",
attribution: "GCBA (WMS)",
},
tms: {
map: `${urls_1.TMSUrl}`,
attribution: "GCBA (TMS)",
active: true,
},
wmts: {
map: `${urls_1.WMTSUrl}`,
attribution: "GCBA (WMTS)",
tileSize: 256
}
},
};
exports.defaultOptions = {
params: {
center: [-34.606389, -58.435556],
zoom: 12,
zoomControl: true,
dragging: true,
scrollWheelZoom: true,
attributionControl: false,
doubleClickZoom: false,
},
language: "es",
texts: {
es: {
loadingLayers: "Cargando capas...",
loadingMaps: "Cargando Mapa Base...",
loadingInformation: "Cargando información...",
errorLoadingInformation: "Se produjo un error al acceder a la información. Reintente más tarde.",
},
en: {
loadingLayers: "Loading layers...",
loadingMaps: "Loading Base Map...",
loadingInformation: "Loading information...",
errorLoadingInformation: "An error ocurred. Please try again later.",
},
},
reverseOptions: {
active: false,
type: "address",
radius: 0,
},
showScaleControl: false,
showLoadingControl: false,
};