Hi,

we are trying the new version of OpenLayers (3) for our development and came
across the problem of integration the seamark layer of OpenSeaMap into the
new Openlayers.

The original code was:
var layer_seamark = new OpenLayers.Layer.TMS ( "seamark",
"http://tiles.openseamap.org/seamark/";, 
{ numZoomLevels: 18, type: 'png', getURL:getTileURL, isBaseLayer:false,
displayOutsideMaxExtent:true });
map.addLayer(layer_seamark);

But that doesn't work anymore. Does anybody have an idea of how it would
work now?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-3-Adding-a-TMS-Layer-tp5088473.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to