dont show table initially
This commit is contained in:
parent
c79f6fc0f3
commit
a1130d8d1c
|
@ -1,4 +1,5 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
|
$('.mapListSection').css({'visibility': 'hidden'});
|
||||||
map = new OpenLayers.Map('map', {});
|
map = new OpenLayers.Map('map', {});
|
||||||
var baseLayer = new OpenLayers.Layer.OSM( "Openstreetmap Base Layer");
|
var baseLayer = new OpenLayers.Layer.OSM( "Openstreetmap Base Layer");
|
||||||
// map.addLayer(baseLayer);
|
// map.addLayer(baseLayer);
|
||||||
|
@ -13,6 +14,9 @@ $(function() {
|
||||||
|
|
||||||
|
|
||||||
$('#searchForm').submit(function(e) {
|
$('#searchForm').submit(function(e) {
|
||||||
|
if (!$('.mapListSection').is("visible")) {
|
||||||
|
$('.mapListSection').fadeIn("slow");
|
||||||
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var bbox = map.getExtent().toBBOX();
|
var bbox = map.getExtent().toBBOX();
|
||||||
var search_term = $('#searchField').val();
|
var search_term = $('#searchField').val();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user