Hi, just a couple of things to check: 1) could you open up your favorite browser's dev tools (e.g. in Chrome, hit F12) and check if there are any error messages in the JavaScript console?
2) I noticed that you configured your layer with "isBaseLayer: false"; that is fine, but did you add a base layer to your OpenLayers.Map? I believe at least one is required. Hope it helps, Stefano Il giorno mar, 12/05/2015 alle 20.29 +0200, ELKHATTABI Imane ha scritto: > 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. > ᐧ > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users