case 'openlayers':
            var obounds = new OpenLayers.Bounds();
            obounds.extend(new LatLonPoint(sw.lat,sw.lon).toOpenLayers());
            obounds.extend(new LatLonPoint(ne.lat,ne.lon).toOpenLayers());
            map.zoomToExtent(obounds);