Skip to content

Commit 2222393

Browse files
committed
2 parents b7d4bb9 + 704659a commit 2222393

32 files changed

+1179
-963
lines changed

dist/classic/iclient-classic-es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7782,7 +7782,7 @@ class MapVLayer_MapVLayer extends SuperMap_SuperMap.Layer {
77827782
this.canvasContext = this.canvas.getContext(context);
77837783
var global$2 = typeof window === 'undefined' ? {} : window;
77847784
var devicePixelRatio = this.devicePixelRatio = global$2.devicePixelRatio;
7785-
if (this.options.context == '2d') {
7785+
if (context == '2d') {
77867786
this.canvasContext.scale(devicePixelRatio, devicePixelRatio);
77877787
}
77887788
this.attribution = "© 2018 百度 <a href='http://mapv.baidu.com' target='_blank'>MapV</a> with <span>© <a target='_blank' href='http://iclient.supermap.io' " +

dist/classic/iclient-classic-es6.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/classic/iclient-classic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10378,7 +10378,7 @@ var MapVLayer = exports.MapVLayer = function (_SuperMap$Layer) {
1037810378
_this.canvasContext = _this.canvas.getContext(context);
1037910379
var global$2 = typeof window === 'undefined' ? {} : window;
1038010380
var devicePixelRatio = _this.devicePixelRatio = global$2.devicePixelRatio;
10381-
if (_this.options.context == '2d') {
10381+
if (context == '2d') {
1038210382
_this.canvasContext.scale(devicePixelRatio, devicePixelRatio);
1038310383
}
1038410384
_this.attribution = "© 2018 百度 <a href='http://mapv.baidu.com' target='_blank'>MapV</a> with <span>© <a target='_blank' href='http://iclient.supermap.io' " + "style='color: #08c;text-decoration: none;'>SuperMap iClient</a></span>";

0 commit comments

Comments
 (0)