Documentation - GeoSearch

The powerful search engine can be embedded directly into your website. Add following code with an iframe:

<iframe src="https://demo.georeferencer.com/api/v1/geosearch" style="width: 100%; height: 600px;"></iframe>


Custom template

It is possible to use this component without an iframe. Just use following javascript code and add HTML elements for display map and data. You can start from our embed template.

  <script src="/static/js/maprank.js?t=1576158297"></script">
  <script>
    var maprank = new MapRank({
      tilejson: "https://api.maptiler.com/maps/streets/256/tiles.json?key=[key]",
      organization: "nationaalarchief",
      //collection: "...", // optional
      type: "current", // or "reviewed"
      geocoder_key: "[key]" // get your free key at https://cloud.maptiler.com/
      //fit_on_select: true // fit bounds after selecting a map
    });
  </script>