8000 Merge branch 'master' of https://github.com/SuperMap/iClient-JavaScript · SuperMap/iClient-JavaScript@66058be · GitHub
[go: up one dir, main page]

Skip to content

Commit 66058be

Browse files
2 parents bf6d9a1 + 3124642 commit 66058be

13 files changed

+15
-15
lines changed

build/jsdocs/template/static/styles/jaguar.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ a:hover, a:active, a:focus{
223223
.main h4.name span.type-signature {
224224
display: inline-block;
225225
border-radius: 3px;
226-
background-color: gray;
227-
color: #fff;
226+
background-color: #c4bdbd;
227+
color: #605e5e;
228228
font-size: 0.7em;
229229
padding: 2px 4px;
230230
}
@@ -369,9 +369,9 @@ a:hover, a:active, a:focus{
369369
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
370370
}
371371

372-
.main .nameContainer h4 .type-signature.type a {
372+
/* .main .nameContainer h4 .type-signature.type a {
373373
color: #fff;
374-
}
374+
} */
375375

376376
.main pre {
377377
font-size: 11px;

examples/leaflet/01_layerService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
result.subLayers.layers.map(function (layer) {
3434
innerHTML += layer.name + "<br>";
3535
});
36-
infowin = L.popup({maxWidth: 400})
36+
infowin = L.popup({maxWidth: 400, closeOnClick:false})
3737
.setLatLng(map.getCenter())
3838
.setContent(innerHTML)
3939
.openOn(map);

examples/leaflet/01_mapQueryByDistance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
});
2525
new L.supermap.TiledMapLayer(url).addTo(map);
2626
circleMarker = L.circleMarker([30, 104], {color: 'red'}).addTo(map);
27-
circleMarker.bindPopup('distance = 10').openPopup();
27+
circleMarker.bindPopup('distance = 10',{closeOnClick:false}).openPopup();
2828
query();
2929

3030
function query() {

examples/leaflet/01_mapService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
innerHTML += resources.text_mapName+":" + JSON.stringify(result.name, null, 2) + "<br>";
3232
innerHTML += resources.text_center+":" + JSON.stringify(result.center, null, 2) + "<br>";
3333
innerHTML += "Bounds:" + JSON.stringify(result.bounds, null, 2) + "<br>";
34-
infoWin = L.popup({maxWidth: 400})
34+
infoWin = L.popup({maxWidth: 400, closeOnClick:false})
3535
.setLatLng(map.getCenter())
3636
.setContent(innerHTML)
3737
.openOn(map);

examples/leaflet/01_measure_area.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
.MeasureService(url)
3535
.measureArea(areaMeasureParam).then(function (serviceResult) {
3636
var content = resources.text_area + serviceResult.result.area + resources.msg_sqm;
37-
polygon.bindPopup(content).openPopup(polygon.getCenter());
37+
polygon.bindPopup(content, {closeOnClick:false}).openPopup(polygon.getCenter());
3838
});
3939
}
4040
</script>

examples/leaflet/02_datasetService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_DatasourceInfo"><
103103
innerHTML += "isFileCache:" + JSON.stringify(serviceResult.result.datasetInfo.isFileCache, null, 2) + "<br>";
104104
innerHTML += "name:" + JSON.stringify(serviceResult.result.datasetInfo.name, null, 2) + "<br>";
105105
innerHTML += "prjCoordSys:" + "(...)" + "<br>";
106-
infoWin = L.popup({maxWidth: 420})
106+
infoWin = L.popup({maxWidth: 420, closeOnClick:false})
107107
.setLatLng(map.getCenter())
108108
.setContent(innerHTML)
109109
.openOn(map);

examples/leaflet/02_datasourceService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ <h5 class='panel-title text-center' data-i18n="resources.title_DatasourceInfo"><
8787
innerHTML += "engineType:" + JSON.stringify(serviceResult.result.datasourceInfo.engineType, null, 2) + "<br>";
8888
innerHTML += "name:" + JSON.stringify(serviceResult.result.datasourceInfo.name, null, 2) + "<br>";
8989
innerHTML += "prjCoordSys:" + "(...)" + "<br>";
90-
infoWin = L.popup({maxWidth: 420})
90+
infoWin = L.popup({maxWidth: 420, closeOnClick:false})
9191
.setLatLng(map.getCenter())
9292
.setContent(innerHTML)
9393
.openOn(map);

examples/leaflet/02_fieldsService.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
});
3434
new L.supermap.FieldService(url).getFields(param).then(function (serviceResult) {
3535
var innerHTML = serviceResult.result.fieldNames.join(', ');
36-
infoWin = L.popup({maxWidth: 420})
36+
infoWin = L.popup({maxWidth: 420, closeOnClick:false})
3737
.setLatLng(map.getCenter())
3838
.setContent(innerHTML)
3939
.openOn(map);
198 Bytes
Loading

src/common/iServer/InterpolationDensityAnalystParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import {InterpolationAnalystParameters} from './InterpolationAnalystParameters';
1818
* @param {number} [options.zValueScale=1] - 进行插值分析值的缩放比率。
1919
* @param {number} [options.resolution] - 插值结果栅格数据集的分辨率,即一个像元所代表的实地距离,与点数据集单位相同。
2020
* @param {FilterParameter} [options.filterQueryParameter] - 属性过滤条件。
21-
* @param {string} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
21+
* @param {PixelFormat} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
2222
* @param {string} [options.dataset] - 用来做插值分析的数据源中数据集的名称,该名称用形如 "数据集名称@数据源别名" 形式来表示。当插值分析类型(InterpolationAnalystParameters.prototype.InterpolationAnalystType)为 dataset 时,此为必选参数。
2323
* @param {Array.<GeometryPoint|L.LatLng|L.Point|ol.geom.Point|mapboxgl.LngLat|Array.<number>>} [options.inputPoints] - 用于做插值分析的离散点集合。当插值分析类型(InterpolationAnalystParameters.prototype.InterpolationAnalystType)为 geometry 时,此为必选参数。
2424
* @extends {InterpolationAnalystParameters}

src/common/iServer/InterpolationIDWAnalystParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {InterpolationAnalystParameters} from './InterpolationAnalystParameters';
2121
* @param {number} [options.zValueScale=1] - 用于进行插值分析值的缩放比率。
2222
* @param {number} [options.resolution] - 插值结果栅格数据集的分辨率,即一个像元所代表的实地距离,与点数据集单位相同。
2323
* @param {FilterParameter} [options.filterQueryParameter] - 属性过滤条件。
24-
* @param {string} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
24+
* @param {PixelFormat} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
2525
* @param {string} [options.dataset] - 要用来做插值分析的数据源中数据集的名称。该名称用形如”数据集名称@数据源别名”形式来表示。当插值分析类型(SuperMap.InterpolationAnalystType)为 dataset 时,此为必选参数。
2626
* @param {Array.<GeometryPoint|L.LatLng|L.Point|ol.geom.Point|mapboxgl.LngLat|Array.<number>>} [options.inputPoints] - 用于做插值分析的离散点集合。当插值分析类型(SuperMap.InterpolationAnalystType)为 geometry 时,此为必选参数。
2727
* @extends {InterpolationAnalystParameters}

src/common/iServer/InterpolationKrigingAnalystParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import {InterpolationAnalystParameters} from './InterpolationAnalystParameters';
5858
* @param {number} [options.zValueScale=1] - 用于进行插值分析值的缩放比率。
5959
* @param {number} [options.resolution] - 插值结果栅格数据集的分辨率,即一个像元所代表的实地距离,与点数据集单位相同。
6060
* @param {FilterParameter} [options.filterQueryParameter] - 属性过滤条件。
61-
* @param {string} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
61+
* @param {PixelFormat} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
6262
* @param {string} [options.dataset] - 要用来做插值分析的数据源中数据集的名称。该名称用形如 ”数据集名称@数据源别名” 形式来表示。当插值分析类型(InterpolationAnalystParameters.prototype.InterpolationAnalystType)为 dataset 时。
6363
* @param {Array.<GeometryPoint|L.LatLng|L.Point|ol.geom.Point|mapboxgl.LngLat|Array.<number>>} [options.inputPoints] - 用于做插值分析的离散点集合。当插值分析类型(InterpolationAnalystParameters.prototype.InterpolationAnalystType)为 geometry 时。
6464
* @extends {InterpolationAnalystParameters}

src/common/iServer/InterpolationRBFAnalystParameters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {InterpolationAnalystParameters} from './InterpolationAnalystParameters';
2525
* @param {number} [options.zValueScale=1] - 用于进行插值分析值的缩放比率。
2626
* @param {number} [options.resolution] - 插值结果栅格数据集的分辨率,即一个像元所代表的实地距离,与点数据集单位相同。
2727
* @param {FilterParameter} [options.filterQueryParameter] - 属性过滤条件。
28-
* @param {string} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
28+
* @param {PixelFormat} [options.pixelFormat] - 指定结果栅格数据集存储的像素格式。
2929
* @param {string} [options.dataset] - 要用来做插值分析的数据源中数据集的名称。该名称用形如”数据集名称@数据源别名”形式来表示。当插值分析类型(InterpolationAnalystType)为 dataset 时。此为必选参数。
3030
* @param {Array.<GeometryPoint|L.LatLng|L.Point|ol.geom.Point|mapboxgl.LngLat|Array.<number>>} [options.inputPoints] - 用于做插值分析的离散点集合。当插值分析类型(InterpolationAnalystType)为 geometry 时。此为必选参数。
3131
* @example

0 commit comments

Comments
 (0)
0