mercredi 31 décembre 2014

OL3 27700 WMS inspire


I am just getting into OL3 from a GIS background - I don't have much of a programming background.


I am trying to use WMS layers from inspire in an OL3 app (http://ift.tt/1vtvVWH)


I have used the tutorial below as a start and I can get that working but I can't get an inspire WMS layers to work.


http://ift.tt/1ALxgiw


I am using Qgis for the gis work and I have checked the wms works in that fine.


Code for the layer I have tried



var lyr_NationalParksEngland = new ol.layer.Tile({
source: new ol.source.TileWMS(({
url: http://ift.tt/1ElGtAM,
params: {"LAYERS": "eainspire2011-wms-nationalparks_eng_inspire", "TILED": "true"},
})),
title: "National Parks (England)"
});




Aucun commentaire:

Enregistrer un commentaire