OkMap forum
OkMap forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Forum OkMap - Italiano
 Integrazione con altri software
 WMS Geoportale Nazionale e IGM
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

wanderer

Italy
14 Posts

Posted - 30/12/2019 :  15:20:39  Show Profile  Reply with Quote
Grazie, tenterò la modifica sperando di essere in grado (ne dubito). Da map server, cosa che non mi pare si possa fare da File carica mappe web, posso, attraverso la risoluzione (non presente in mappe web), scaricare le porzioni di cartografia nella misura che mi interessa.
Mi sono fatto l’idea che non sia un caso che l’IGM non compaia tra i map-servers. Forse una questione di diritti? Naturalmente le eventuali modifiche apportate al file mapservers.xml non possono che rientrare sotto la mia responsabilità.
Go to Top of Page

okmap

Italy
2566 Posts

Posted - 30/12/2019 :  15:36:43  Show Profile  Visit okmap's Homepage  Reply with Quote
Questo è il codice corretto da inserire:
map.addLayer(new ol.layer.Tile({source: new ol.source.TileWMS({url: 'http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/WMS_v1.3/raster/IGM_25000.map', params: {'LAYERS': 'CB.IGM25000'}, attributions: '<a href="https://creativecommons.org/licenses/by-nc-sa/3.0/it/legalcode">Attribuzione – Non commerciale – Condividi allo stesso modo 3.0 Italia (CC BY-NC-SA 3.0 IT)</a>'})}));
Go to Top of Page

wanderer

Italy
14 Posts

Posted - 31/12/2019 :  17:16:19  Show Profile  Reply with Quote
Grazie molte e auguri di buon anno che con piacere estendo anche a tutti i felici utilizzatori di OkMap.

Francesco.
Go to Top of Page

okmap

Italy
2566 Posts

Posted - 31/12/2019 :  20:11:07  Show Profile  Visit okmap's Homepage  Reply with Quote
Buon anno anche a te e a tutti i partecipanti.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
OkMap forum © 2018 OkMap Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07