Tile Layer - NickCis/lrm-bacomollego GitHub Wiki
La url para el tile layer es:
http://tiles1.usig.buenosaires.gob.ar/mapcache/tms/1.0.0/amba_con_transporte_3857@GoogleMapsCompatible/{z}/{x}/{y}.png
Para crear un mapa LeafLet usando esto, hay que usar la opcion tms: true
:
L.tileLayer('http://tiles1.usig.buenosaires.gob.ar/mapcache/tms/1.0.0/amba_con_transporte_3857@GoogleMapsCompatible/{z}/{x}/{y}.png', {
maxZoom: 18,
minZoom: 8,
attribution: '<a href="http://www.buenosaires.gob.ar/terminos-y-condiciones" target="_blank">Términos y condiciones de uso</a> | USIG (<a href="http://www.buenosaires.gob.ar" target="_blank">GCBA</a>), © <a href="http://www.openstreetmap.org/copyright/en" target="_blank">OpenStreetMap</a> (ODbL)',
tms: true
}).addTo(map);