Permalink example

Coordinates to permalink can be added with method addPermalink(). This method accepts boolean or object with options:

  • accuracy [number]
  • geoFormat [boolean] switcher between local coordinates x, y or geographical coordinates lat, long
  • addToEnd [string] adds custom string to permalink


      var url = '';
      var IIIF = new IiifViewer('map', url, function() {
        //turn on permalink
                accuracy: 1, //def. 4
                geoFormat: true, //def. true
                addToEnd: 'layers=T'