Sha256: 6b3fc872f33a47341744ccda44d006787f2c40fa16e667dd51c7f2d86f0a017e
Contents?: true
Size: 460 Bytes
Versions: 40
Compression:
Stored size: 460 Bytes
Contents
Blacklight.onLoad(function() { $('[data-map="home"]').each(function(i, element) { var geoblacklight = new GeoBlacklight.Viewer.Map(this), data = $(this).data(); geoblacklight.map.addControl(L.control.geosearch({ baseUrl: data.catalogPath, dynamic: false, searcher: function() { window.location.href = this.getSearchUrl(); }, staticButton: '<a class="btn btn-primary">Search here</a>' })); }); });
Version data entries
40 entries across 40 versions & 1 rubygems