Commit 7cce844b by niuxiaolin

latest ui 08/11/2019 16:04:19

parent 037e48f4
......@@ -118,8 +118,18 @@ export class MainComponent implements OnInit {
this.map = new window.BMap.Map(("baidu-map"), {
enableMapClick: true
});
this.map.setMaxZoom(this.debug==true ? 18:13);
(window as any).map=this.map;
// this.map.setMapStyleV2({ styleJson: theme });
var hiddenHighIcon={
"featureType": "highwaysign",
"elementType": "labels.icon",
"stylers": {
"visibility": "off"
}
}
this.map.setMapStyleV2({styleJson:hiddenHighIcon});
this.map.enableScrollWheelZoom();
//this.map.enableScrollWheelZoom()
this.map.enableContinuousZoom()
......
......@@ -471,7 +471,7 @@ hh.fO = function(a, b) {
console.log('test')
e.Lk = new ub({
Hc: 60,
duration: f.U.to ? 400 : 1,
duration: f.U.to ? 1200 : 1,
$b: vb.Vr,
za: function(a) {
if (b > 0) {
......
......@@ -8187,7 +8187,7 @@ window.BMAP_AUTHENTIC_KEY = "KhQqnL3owyAzqjr4zCGbWiiHwPFmKTD6";
this.map.Yw() && (g = 2);
e = this.map.oh.Uv(e, b).Ol;
var orginUrl= (Fd[Math.abs(e + a) % Fd.length] + "?qt=vtile&x=" + (e + "").replace(/-/gi, "M") + "&y=" + (a + "").replace(/-/gi, "M") + "&z=" + b + "&styles=" + c + "&scaler=" + g + (6 == z.ga.ma ? "&color_dep=32&colors=50" : "") + "&udt=" + f).replace(/-(\d+)/gi, "M$1")
console.log(orginUrl);
// return orginUrl;
tdir = bmapcfg.tiles_dir.length>0?bmapcfg.tiles_dir:bmapcfg.home + "maptile";
//xiaolin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment