[OpenLayers-Users] OpenLayers 3: Adding a TMS Layer

Bart van den Eijnden bartvde at boundlessgeo.com
Mon Nov 11 00:23:36 PST 2013


There is no TMS layer as yet in ol3.

And there is a new e-mail list for ol3 questions: https://groups.google.com/forum/#!forum/ol3-dev

IIRC it has been asked there before, so search the archives.

Best regards,
Bart

On 11 Nov 2013, at 09:21, SAILBOOK <c.marcus.scheffler at gmail.com> wrote:

> 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-tp5088471.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list