Skip to content

Commit dde0dce

Browse files
去除leaflet版权链接 review by songym
1 parent 065f5ca commit dde0dce

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/leaflet/controler_attribution.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
var host = window.isLocal ? window.server : "https://iserver.supermap.io";
1616
var map,
1717
baseUrl = host + "/iserver/services/map-world/rest/maps/World",
18-
prefix = "<a href='https://leafletjs.com' title='A JS library for interactive maps'>Leaflet</a>",
18+
prefix = "Leaflet",
1919
attribution = "Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' target='_blank'>SuperMap iServer</a></span> with <span>© <a href='https://iclient.supermap.io' target='_blank'>SuperMap iClient</a></span>";
2020

2121

src/leaflet/core/Attributions.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010

1111
let Attributions = {
1212

13-
Prefix: `<a href='https://leafletjs.com' title='A JS library for interactive maps'>Leaflet</a>
14-
with <span>© <a href='https://iclient.supermap.io' title='SuperMap iClient' target='_blank'>SuperMap iClient</a></span>`,
13+
Prefix: `Leaflet with <span>© <a href='https://iclient.supermap.io' title='SuperMap iClient' target='_blank'>SuperMap iClient</a></span>`,
1514

1615
Common: {
1716
attribution: `Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>`

0 commit comments

Comments
 (0)