Sha256: 1f3952583062fc32ed1ba88b551449985fff9874001b55c6cc140a2901ffd3c9
Contents?: true
Size: 548 Bytes
Versions: 56
Compression:
Stored size: 548 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.loadControls(); 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
56 entries across 56 versions & 1 rubygems