https://github.com/sigdeletras/Leaflet.Spain.WMS
Provides easy setup for several Web Map Services (WMS) layers for Spain (PNOA, IGN base, Catastro, etc), from Spanish mapping agencies.
https://github.com/sigdeletras/Leaflet.Spain.WMS
javascript leaflet plugins
Last synced: 8 days ago
JSON representation
Provides easy setup for several Web Map Services (WMS) layers for Spain (PNOA, IGN base, Catastro, etc), from Spanish mapping agencies.
- Host: GitHub
- URL: https://github.com/sigdeletras/Leaflet.Spain.WMS
- Owner: sigdeletras
- License: other
- Created: 2015-06-11T17:49:20.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T09:24:25.000Z (about 11 years ago)
- Last Synced: 2026-01-30T19:53:06.819Z (5 months ago)
- Topics: javascript, leaflet, plugins
- Language: JavaScript
- Homepage: http://sigdeletras.github.io/Leaflet.Spain.WMS/examples/
- Size: 275 KB
- Stars: 36
- Watchers: 3
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-spain - Leaflet.Spain.WMS - square&label=%E2%AD%90)](https://github.com/sigdeletras/Leaflet.Spain.WMS/stargazers) [](https://github.com/sigdeletras/Leaflet.Spain.WMS/commits/master) [](https://github.com/sigdeletras/Leaflet.Spain.WMS) [](https://github.com/sigdeletras/Leaflet.Spain.WMS/blob/master/LICENSE) [](https://www.ign.es/) [](https://www.sedecatastro.gob.es/) - Capas WMS de España para Leaflet (PNOA, IGN base, Catastro) de organismos cartográficos. (Cartografía y Catastro)
README
Leaflet.Spain.WMS
=================
Archivo JavaScript con una recopilación de servicios de visualización de mapas (WMS) para España para ser visualizados en [Leaflet](http://leafletjs.com/).
JavaScript file with a compilation of some Web Map Services (WMS) for Spain to be used in [Leaflet](http://leafletjs.com/).
##Opciones de instalación / Install Options
- Clonar/Clone.. `https://github.com/sigdeletras/Leaflet.Spain.WMS.git`
- Incluir `Leaflet.Spain.WMS.js` dentro de la etiqueta ``. Include `Leaflet.Spain.WMS.js` inside the `` tag.
##¿Cómo usar Leaflet.Spain.WMS.js? / How to use Leaflet.Spain.WMS.js?
Incluir las fuentes de [Leaflet](http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js) y `Leaflet.Spain.WMS.js` dentro de la etiqueta `` del documento HTML.
Include the [Leaflet Source](http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js) and `Leaflet.Spain.WMS.js` inside the `` tag of the HTML document.
```html
// Start creating maps
```
##Uso/Usage
```Javascript
//add PNOA Layer to map.
Spain_PNOA_Mosaico.addTo(map);
```
##Ejemplo/Example
```Javascript
var map = L.map('map', {
zoomControl:true,
maxZoom:20,
layers:[Spain_UnidadAdministrativa,Spain_PNOA_Ortoimagen]
}).fitBounds([[24.9300000311,-19.6],[46.0700000311,5.6]]);
var baselayers = {
"PNOA Mosaico": Spain_PNOA_Mosaico,
"PNOA Máx. Actualidad": Spain_PNOA_Ortoimagen,
"PNOA 2010": Spain_PNOA_2010
};
var overlayers = {
"Unidades administrativas": Spain_UnidadAdministrativa
};
L.control.layers(baselayers, overlayers,{collapsed:false}).addTo(map);
```
Para ver algunos ejemplos acceder a la carpeta examples.
To see some examples access the examples folder.
```
./examples/index.html
./examples/pnoa.html
./examples/andalucia.html
```
##Demo
* [Spain](http://sigdeletras.github.io/Leaflet.Spain.WMS/examples/)
* [Spain PNOA Orthoimages](http://sigdeletras.github.io/Leaflet.Spain.WMS/examples/pnoa.html)
* [Andalucía](http://sigdeletras.github.io/Leaflet.Spain.WMS/examples/andalucia.html)
## Proveedores, metadatos y capas / Providers, metadata and layers
### España / Spain
#### Instituto Geográfico Nacional
WMSLayers
PNOA Máxima actualidad
Spain_PNOA_Ortoimagen, Spain_PNOA_Mosaico
PNOA Histórico
Spain_PNOA_2004, Spain_PNOA_2005, Spain_PNOA_2006, Spain_PNOA_2007, Spain_PNOA_2008, Spain_PNOA_2009, Spain_PNOA_2010
Unidades administrativas
Spain_UnidadAdministrativa
Cartografía raster IGN
Spain_MapasrasterIGN
Mapa base de España IGN
Spain_IGNBase
Modelos Digitales del Terreno de España
Spain_MDT_Elevaciones,Spain_MDT_Orientaciones, Spain_MDT_Pendientes
#### Dirección General del Catastro
WMSLayers
Cartografía Catastral
Spain_Catastro
## Andalucía
###Instituto de Estadística y Cartografía de Andalucía
WMSLayers
Callejero Digital de Andalucía Unificado
Andalucia_CDAUVialyPortal, Andalucia_CDAUBase
Mapa Toporaster10
Andalucia_MapaToporaster10
## Licencia/License

This work is licensed under a Creative Commons Attribution 3.0 Unported License.