[OpenLayers-Users] Pink Tiled Map with Openlayers and Geoserver
ELKHATTABI Imane
imanekhtb at gmail.com
Tue May 12 10:07:36 PDT 2015
Hello everyone,
I'm having a problem with the pink tiles when trying to display a map.
I'm using Geoserver 2.6 . In the main html page , I reference to Openlayers
with :
<script src="openlayers/lib/OpenLayers.js"></script>
This is how I define my layer :
new OpenLayers.Layer.WMS("dim_province",
"http://localhost:8080/geoserver/wms", {
layers: "dw1:dim_province",
transparent: true,
format: "image/gif"
}, {
isBaseLayer: false,
buffer: 0,
visibility: false
}
),
The layer is displayed with no poblem on Geoserver>preview as openlayers.
However It shows a pink tile image when I'm running the html page.
Any hint or help would be highly apreciated.
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20150512/2d20c98c/attachment.html>
More information about the Users
mailing list