How to access the Metadata link URL field of GeoServer using the OpenLayers Library?

المشرف العام

Administrator
طاقم الإدارة
Geoserver v: 2.4.4

OpenLayer v: 2.13

All maps are WMS.

In my javascript I use "layer.name" to access the Title of the specific map as specified in my GeoServer layer. Using jquery I was able to inject the "layer.name" of the selected map in the foorter of my hmtl. Now I would like to add a hyper-reference of the metadata.

In GeoServer, I have specified the url of my Metadata under the header: "Metadata Links" in the field URL. (This all seems very logical and simple).

The issue I am having, is that I don't know how to access this URL... I've searched the documentation, but can't find any syntax that would allow me to easily access this field. I would like to avoid typing in the URL manually, because I have a whole list of maps, and I have added the metadata for each map in GeoNetwork.

Does anyone know how to get the "Metadata link URL" field with openlayers? Or have a nice workaround?



أكثر...
 
أعلى