Skip to content

Commit 3cbd2a6

Browse files
committed
源代码中输出的文本/提示:中文->英文(attribution除外)
1 parent efbc0e4 commit 3cbd2a6

File tree

8 files changed

+169
-147
lines changed

8 files changed

+169
-147
lines changed

dist/iclient9-leaflet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57933,7 +57933,7 @@ var ChangeTileVersion = exports.ChangeTileVersion = _leaflet2["default"].Control
5793357933
//控件位置 继承自leaflet control
5793457934
position: 'topleft',
5793557935
//鼠标滑过时提示
57936-
title: '切换缓存版本',
57936+
title: 'switch tile version',
5793757937
//tooltip提示显示位置 top | right | bottom | left
5793857938
tooltip: "top",
5793957939
//是否折叠
@@ -86845,7 +86845,7 @@ var VectorTileJSON = exports.VectorTileJSON = _leaflet2["default"].Class.extend(
8684586845
}
8684686846
newFeature = scope._createFeature(id, _VectorFeatureType.VectorFeatureType.REGION, rings, tags);
8684786847
} else {
86848-
throw new Error('不合法的GeoJSON对象');
86848+
throw new Error('Illegal GeoJSON object');
8684986849
}
8685086850
return newFeature;
8685186851
},

dist/iclient9-leaflet.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.

dist/iclient9-openlayers.js

Lines changed: 161 additions & 138 deletions
Large diffs are not rendered by default.

dist/iclient9-openlayers.min.js

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

src/leaflet/control/ChangeTileVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export var ChangeTileVersion = L.Control.extend({
3333
//控件位置 继承自leaflet control
3434
position: 'topleft',
3535
//鼠标滑过时提示
36-
title: '切换缓存版本',
36+
title: 'switch tile version',
3737
//tooltip提示显示位置 top | right | bottom | left
3838
tooltip: "top",
3939
//是否折叠

src/leaflet/overlay/vectortile/VectorTileJSON.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export var VectorTileJSON = L.Class.extend({
102102
}
103103
newFeature = scope._createFeature(id, VectorFeatureType.REGION, rings, tags);
104104
} else {
105-
throw new Error('不合法的GeoJSON对象');
105+
throw new Error('Illegal GeoJSON object');
106106
}
107107
return newFeature;
108108
},

src/openlayers/control/ChangeTileVersion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class ChangeTileVersion extends ol.control.Control {
3131
options = options || {};
3232
//鼠标滑过时提示
3333
if (!options.title) {
34-
options.title = "切换缓存版本";
34+
options.title = "switch tile version";
3535
}
3636
//tooltip提示显示位置 top | right | bottom | left
3737
if (!options.tooltip) {

src/openlayers/overlay/vectortile/VectorTileStyles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class VectorTileStyles extends ol.Observable {
170170
function getDefaultSelectedTextStyle() {
171171
return new ol.style.Style({
172172
text: new ol.style.Text({
173-
font: '15px 微软雅黑',
173+
font: '15px Microsoft YaHei',
174174
fill: new ol.style.Fill({
175175
color: 'blue'
176176
}),

0 commit comments

Comments
 (0)