Skip to content

Commit 91268d8

Browse files
committed
Merge branch 'master' of https://github.com/SuperMap/iClient9
2 parents af15592 + d180896 commit 91268d8

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

dist/iclient9-openlayers.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10428,8 +10428,8 @@ var StyleUtils = function () {
1042810428
var symbolParameters = {
1042910429
"transparent": true,
1043010430
"resourceType": "SYMBOLMARKER",
10431-
"picWidth": Math.ceil(shader.markerSize * _SuperMap2.default.DOTS_PER_INCH * _SuperMap2.default.INCHES_PER_UNIT["mm"]),
10432-
"picHeight": Math.ceil(shader.markerSize * _SuperMap2.default.DOTS_PER_INCH * _SuperMap2.default.INCHES_PER_UNIT["mm"]),
10431+
"picWidth": Math.ceil(shader.markerSize * _SuperMap2.default.DOTS_PER_INCH * _SuperMap2.default.INCHES_PER_UNIT["mm"]) || 13,
10432+
"picHeight": Math.ceil(shader.markerSize * _SuperMap2.default.DOTS_PER_INCH * _SuperMap2.default.INCHES_PER_UNIT["mm"]) || 13,
1043310433
"style": JSON.stringify(shader)
1043410434
};
1043510435
var imageUrl = _SuperMap2.default.Util.urlAppend(url + "/symbol.png", _SuperMap2.default.Util.getParameterString(symbolParameters));
@@ -50929,7 +50929,7 @@ var MapvCanvasLayer = function () {
5092950929

5093050930
/**
5093150931
* @function ol.supermap.MapvCanvasLayer.prototype.resize
50932-
* @param mapWidth - {number} ��ͼ���
50932+
* @param mapWidth - {number} ��ͼ���
5093350933
* @param mapHeight - {number} ��ͼ�߶�
5093450934
* @description ������ͼ��С
5093550935
*/
@@ -50950,7 +50950,7 @@ var MapvCanvasLayer = function () {
5095050950
/**
5095150951
* @function ol.supermap.MapvCanvasLayer.prototype.setZIndex
5095250952
* @param zIndex - {number} �㼶����
50953-
* @description ����ͼ��㼶
50953+
* @description ����ͼ��
5095450954
*/
5095550955

5095650956
}, {
@@ -50960,7 +50960,7 @@ var MapvCanvasLayer = function () {
5096050960
}
5096150961
/**
5096250962
* @function ol.supermap.MapvCanvasLayer.prototype.getZIndex
50963-
* @description ��ȡͼ��㼶
50963+
* @description ��ȡͼ��
5096450964
*/
5096550965

5096650966
}, {

dist/iclient9-openlayers.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/openlayers/04_bufferAnalystService_geometry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143

144144
//将组成缓冲区的边界点提出来,为了构造下面查询服务的geometry
145145
var bufferPoints = [];
146-
var coordinate = serviceResult.result.geometry.coordinates[0][0];
146+
var coordinate = serviceResult.result.resultGeometry.geometry.coordinates[0][0];
147147
for (var i = 0; i < coordinate.length; i++) {
148148
bufferPoints.push([coordinate[i][0], coordinate[i][1]]);
149149
}

examples/openlayers/05_findMTSPPathsService.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
map.addLayer(layer);
4141
findMTSPPathsProcess();
4242
});
43-
mapService.getMapStatus();
4443

4544
function findMTSPPathsProcess() {
4645
//添加配送点

examples/openlayers/WMTSLayer.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
view: new ol.View({
2727
center: [0, 0],
2828
zoom: 0,
29+
2930
}),
3031
layers: [new ol.layer.Tile({
3132
opacity: 0.7,
@@ -36,6 +37,7 @@
3637
format: 'image/png',
3738
tileGrid: new ol.tilegrid.WMTS({
3839
origin: [-2.0037508342787E7, 2.0037508342787E7],
40+
extent:[-2.0037508342787E7, -2.0037508342787E7,2.0037508342787E7, 2.0037508342787E7],
3941
resolutions: resolutions,
4042
matrixIds: matrixIds
4143
}),

src/openlayers/core/StyleUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ export default class StyleUtils {
2323
var symbolParameters = {
2424
"transparent": true,
2525
"resourceType": "SYMBOLMARKER",
26-
"picWidth": Math.ceil(shader.markerSize * SuperMap.DOTS_PER_INCH * SuperMap.INCHES_PER_UNIT["mm"]),
27-
"picHeight": Math.ceil(shader.markerSize * SuperMap.DOTS_PER_INCH * SuperMap.INCHES_PER_UNIT["mm"]),
26+
"picWidth": Math.ceil(shader.markerSize * SuperMap.DOTS_PER_INCH * SuperMap.INCHES_PER_UNIT["mm"])||13,
27+
"picHeight": Math.ceil(shader.markerSize * SuperMap.DOTS_PER_INCH * SuperMap.INCHES_PER_UNIT["mm"])||13,
2828
"style": JSON.stringify(shader)
2929
};
3030
var imageUrl = SuperMap.Util.urlAppend(url + "/symbol.png", SuperMap.Util.getParameterString(symbolParameters));

0 commit comments

Comments
 (0)