Skip to content

Commit 04205cb

Browse files
committed
更新iClient图标
1 parent eee671d commit 04205cb

File tree

10 files changed

+1365
-1339
lines changed

10 files changed

+1365
-1339
lines changed

dist/iclient9-leaflet.js

Lines changed: 1340 additions & 1314 deletions
Large diffs are not rendered by default.

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-mapboxgl.js

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

dist/iclient9-mapboxgl.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: 7 additions & 7 deletions
Large diffs are not rendered by default.

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.

src/common/control/img/iClient.png

-9.29 KB
Loading

src/leaflet/control/Logo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export var Logo = L.Control.extend({
5454
}
5555
var alt = this.options.alt;
5656

57-
var imageWidth = "96px";
58-
var imageHeight = "26px";
57+
var imageWidth = "94px";
58+
var imageHeight = "29px";
5959
var styleSize = "width:" + imageWidth + ";height:" + imageHeight + ";";
6060
if (this.options.imageUrl) {
6161
imageWidth = this.options.width;
@@ -67,7 +67,7 @@ export var Logo = L.Control.extend({
6767
}
6868
var link = this.options.link || "http://iclient.supermapol.com";
6969
div.innerHTML = "<a href='" + link + "' target='_blank' style='border: none;display: block;'>" +
70-
"<img src=" + imgSrc + " alt='" + alt + "' style='border: none;" + styleSize + "margin-right:2px;white-space: nowrap'></a>";
70+
"<img src=" + imgSrc + " alt='" + alt + "' style='border: none;" + styleSize + "margin-right:5px;margin-bottom:2px;white-space: nowrap'></a>";
7171
return div;
7272
}
7373
});

src/mapboxgl/control/Logo.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export class Logo {
5353
}
5454
var alt = this.alt;
5555

56-
var imageWidth = "96px";
57-
var imageHeight = "26px";
56+
var imageWidth = "94px";
57+
var imageHeight = "29px";
5858
var styleSize = "width:" + imageWidth + ";height:" + imageHeight + ";";
5959
if (this.imageUrl) {
6060
imageWidth = this.width;
@@ -66,7 +66,7 @@ export class Logo {
6666
}
6767
var link = this.link || "http://iclient.supermapol.com";
6868
this._container.innerHTML = "<a href='" + link + "' target='_blank'>" +
69-
"<img src=" + imgSrc + " alt='" + alt + "' style='" + styleSize + "'></a>";
69+
"<img src=" + imgSrc + " alt='" + alt + "' style='" + styleSize + "margin-bottom: 2px'></a>";
7070
this._createStyleSheet();
7171
return this._container;
7272
}
@@ -80,7 +80,7 @@ export class Logo {
8080
".iclient-logo a{" +
8181
"border: none;" +
8282
"display: block;" +
83-
"height:26px;" +
83+
"height:31px;" +
8484
"}" +
8585
".iclient-logo img{" +
8686
"border: none;" +

src/openlayers/control/Logo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export default class Logo extends ol.control.Control {
4949
var alt = this.options.alt;
5050
var link = this.options.link;
5151

52-
var imageWidth = "96px";
53-
var imageHeight = "26px";
52+
var imageWidth = "94px";
53+
var imageHeight = "29px";
5454
var styleSize = "width:" + imageWidth + ";height:" + imageHeight + ";";
5555
if (this.options.imageUrl) {
5656
imageWidth = this.options.width;
@@ -63,7 +63,7 @@ export default class Logo extends ol.control.Control {
6363

6464

6565
div.innerHTML = "<a href='" + link + "' target='_blank' style='border: none;display: block;'>" +
66-
"<img src=" + imgSrc + " alt='" + alt + "' style='border: none;" + styleSize + "white-space: nowrap'></a>";
66+
"<img src=" + imgSrc + " alt='" + alt + "' style='border: none;" + styleSize + "white-space: nowrap;margin-bottom: 2px'></a>";
6767
return div;
6868
}
6969
/*

0 commit comments

Comments
 (0)