[GeoNetwork-users] Change background layer in the search map

Hi all,
I've been trying to change the background layer (OSM) to another one in the
search map but I had no success. In the following image you can see where I
added another Wms service as a background layer, using the following string
:
*{"type":"wms","title”:”GMRT,”name":"GMRT","url":"http://www.gmrt.org/services/mapserver/wms_merc?request=GetCapabilities&service=WMS&version=1.3.0
<http://www.gmrt.org/services/mapserver/wms_merc?request=GetCapabilities&service=WMS&version=1.3.0&gt;&quot;,&quot;projectionList&quot;:\[&quot;EPSG:4326&quot;\]\}*
!image.png|2144x630
Is it the way to make it work? Do I have to do something else? I can't see
any change and still the OSM map appears.

Thank you very much for your help,

Xavi

Hi Xavier,

On Tue, Nov 2, 2021 at 9:57 AM XAVIER RAYO SARRIAS via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Hi all,
I've been trying to change the background layer (OSM) to another one in the
search map but I had no success. In the following image you can see where I
added another Wms service as a background layer, using the following string
:
*{"type":"wms","title”:”GMRT,”name":"GMRT","url":"
http://www.gmrt.org/services/mapserver/wms_merc?request=GetCapabilities&service=WMS&version=1.3.0
<
http://www.gmrt.org/services/mapserver/wms_merc?request=GetCapabilities&service=WMS&version=1.3.0
>","projectionList":["EPSG:4326"]}*
[image: image.png]
Is it the way to make it work? Do I have to do something else? I can't see
any change and still the OSM map appears.

the OWS context file is cached by default in the browser session storage.
Please try using an incognito window. If it loads the new layer then clear
the cache of the browser.

--

*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

Thanks a lot Juan Luis, I finally solved my problem and with the incognito
window I could see it worked fine.

Regards,

Xavi

El mar, 2 nov 2021 a las 12:23, Juan Luis Rodríguez Ponce (<
juanluisrp@anonymised.com>) escribió:

Hi Xavier,

On Tue, Nov 2, 2021 at 9:57 AM XAVIER RAYO SARRIAS via GeoNetwork-users <
geonetwork-users@lists.sourceforge.net> wrote:

Hi all,
I've been trying to change the background layer (OSM) to another one in
the
search map but I had no success. In the following image you can see where
I
added another Wms service as a background layer, using the following
string
:
*{"type":"wms","title”:”GMRT,”name":"GMRT","url":"
http://www.gmrt.org/services/mapserver/wms_merc?request=GetCapabilities&service=WMS&version=1.3.0
<
http://www.gmrt.org/services/mapserver/wms_merc?request=GetCapabilities&service=WMS&version=1.3.0
>","projectionList":["EPSG:4326"]}*
[image: image.png]
Is it the way to make it work? Do I have to do something else? I can't see
any change and still the OSM map appears.

the OWS context file is cached by default in the browser session storage.
Please try using an incognito window. If it loads the new layer then clear
the cache of the browser.

--

*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*