Sha256: 607f3a92b023a06c48bf224aebccca5c7d2e0f995e2208c469d31e6668aba4e9
Contents?: true
Size: 524 Bytes
Versions: 26
Compression:
Stored size: 524 Bytes
Contents
//= require geoblacklight/viewers/viewer GeoBlacklight.Viewer.Iiif = GeoBlacklight.Viewer.extend({ load: function() { this.adjustLayout(); this.map = L.map(this.element, { center: [0, 0], crs: L.CRS.Simple, zoom: 0 }); this.iiifLayer = L.tileLayer.iiif(this.data.url) .addTo(this.map); }, adjustLayout: function() { // hide attribute table $('#table-container').hide(); // expand viewer element $(this.element).parent().attr('class', 'col-md-12'); } });
Version data entries
26 entries across 26 versions & 1 rubygems