Skip to content

Commit 6fe0e26

Browse files
committed
【fix】修复mapv content的默认值问题
1 parent 1b94e40 commit 6fe0e26

24 files changed

+923
-912
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy