loading and logo
This commit is contained in:
commit
8f6c58cb4a
|
@ -1,4 +1,5 @@
|
|||
$(function() {
|
||||
$('.mapListSection').css({'opacity': 0});
|
||||
map = new OpenLayers.Map('map', {});
|
||||
var baseLayer = new OpenLayers.Layer.OSM( "Openstreetmap Base Layer");
|
||||
// map.addLayer(baseLayer);
|
||||
|
@ -13,6 +14,9 @@ $(function() {
|
|||
|
||||
|
||||
$('#searchForm').submit(function(e) {
|
||||
if ($('.mapListSection').css("opacity") == '0') {
|
||||
$('.mapListSection').fadeIn("slow");
|
||||
}
|
||||
e.preventDefault();
|
||||
var bbox = map.getExtent().toBBOX();
|
||||
var search_term = $('#searchField').val();
|
||||
|
|
Loading…
Reference in New Issue
Block a user