Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-19 Thread Hakala Oiva (Luke)
Lähettäjä: ELKHATTABI Imane imanek...@gmail.com Lähetetty: 19. toukokuuta 2015 12:21 Vastaanottaja: Stefano Costa Kopio: geoserver-users@lists.sourceforge.net Aihe: Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers Thanks Stefano for replying . Actually, I tested

Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-18 Thread Stefano Costa
Hi, sorry for the late reply. Il giorno sab, 16/05/2015 alle 00.42 +0200, ELKHATTABI Imane ha scritto: Thank you Stefano, The code works perfectly with my layer , I set the url path and the center and it displays my wms layer on the osm basemap. I believe this proves the problem is not

Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-15 Thread Stefano Costa
Hi, Il giorno ven, 15/05/2015 alle 12.07 +0200, ELKHATTABI Imane ha scritto: Thank you so much Stefano for these indications. Actually I defined a baselayer in GeoExplorer.js function which is : new OpenLayers.Layer.WMS(Global Imagery (OpenGeo) [Online],

Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-15 Thread ELKHATTABI Imane
Thanks Stefano for replying. The Global Imagery base map is showing even if its visibility is false. However when I check my wms layer to be displayed on top of it . I get the pink tiled image. I'm using the projection EPSG:4326. On the other hand , Ideleted the preview base layer and replaced

Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-15 Thread ELKHATTABI Imane
Thank you Stefano, The code works perfectly with my layer , I set the url path and the center and it displays my wms layer on the osm basemap. As for OL version , I'm using OL 2.13 aswell . Using JS console , I got these bugs : 1- OpenLayers.js: 1052 - Uncaught TypeError: Cannot read

Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-15 Thread Stefano Costa
Could you try with this minimal code and see if it works? mappanel-div.html: html head titleGeoExt MapPanel Example/title script type=text/javascript src=http://extjs.cachefly.net/ext-3.4.0/adapter/ext/ext-base.js;/script script type=text/javascript

Re: [Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-12 Thread Stefano Costa
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

[Geoserver-users] Pink Tiled Map with Geoserver and Openlayers

2015-05-12 Thread ELKHATTABI Imane
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,