Skip to content

<gn-map-viewer>

Example

Include a map viewer bound to a catalog with the gn-map-viewer web component

Source code

html
<gn-map-viewer
  api-url="https://www.geo2france.fr/geonetwork/srv/api"
  primary-color="#0f4395"
  secondary-color="#8bc832"
  main-color="#555"
  background-color="#fdfbff"
  main-font="'Inter', sans-serif"
  title-font="'DM Serif Display', serif"
  style="width: 100%; height: 700px"
></gn-map-viewer>

Released under the GPL-2.0 license.