wangzhibo
2021-12-21 7a7580575d08fa48750837f4bc93885bd83cac1f
mobile/road_show.html
@@ -454,6 +454,7 @@
                    })
                });
                /*
                var tiled = new ol.layer.Tile({
                    visible: false,
                    source: new ol.source.TileWMS({
@@ -470,6 +471,7 @@
                        }
                    })
                });
                */
                var projection = new ol.proj.Projection({
                    code: 'EPSG:4326',
                    units: 'degrees',
@@ -481,10 +483,8 @@
                        attribution: false
                    }).extend([mousePositionControl]),
                    target: 'map',
                    layers: [
                        untiled,
                        tiled
                    ],
                    //layers: [untiled,tiled],
                    layers: [untiled],
                    view: new ol.View({
                        projection: projection
                    })
@@ -599,12 +599,13 @@
                    var filter = document.getElementById('filter').value;
                    var formPrams = getFormParams();
                    // by default, reset all filters
                    var userid = localStorage.getItem("userid")||2;
                    var filterParams = {
                        'FILTER': null,
                        'CQL_FILTER': null,
                        'FEATUREID': null,
                        "LAYERS": 'konglu_58:vis_roadsection_' + formPrams.querytype_,
                        "viewparams": 'userid:2;regiontype:1005;datetime:' + formPrams.datatime_+';querytype:'+formPrams.querytype_,
                        "viewparams": 'userid:'+userid+';regiontype:1005;datetime:' + formPrams.datatime_+';querytype:'+formPrams.querytype_,
                    };
                    if (filter.replace(/^\s\s*/, '').replace(/\s\s*$/, '') != "") {
                        if (filterType == "cql") {