Skip to content

Commit a4a8069

Browse files
authored
Merge pull request SuperMap#23 from supermap-plotting/master
动态标绘功能
2 parents 8b577b0 + 3a2ac71 commit a4a8069

File tree

93 files changed

+6072
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+6072
-6
lines changed

dist/images/plot/avoid.png

2.75 KB

dist/images/plot/control.png

2.75 KB

dist/images/plot/locked.png

2.95 KB

dist/images/plot/rotate.png

1.42 KB

dist/images/plot/scale.png

2.79 KB
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*!
2+
*
3+
* iclient9-leaflet.(http://iclient.supermap.io)
4+
* Copyright© 2000 - 2018 SuperMap Software Co.Ltd
5+
* license: Apache-2.0
6+
* version: v9.1.0-alpha
7+
*
8+
*/
9+
10+
.leaflet-supermap-plot-control-icon-path {
11+
background-image: url(../images/plot/control.png);
12+
background-repeat: no-repeat;
13+
background-size: 100% 100%;
14+
}
15+
16+
.leaflet-supermap-plot-scale-icon-path {
17+
background-image: url(../images/plot/scale.png);
18+
background-repeat: no-repeat;
19+
background-size: 100% 100%;
20+
}
21+
22+
.leaflet-supermap-plot-rotate-icon-path {
23+
background-image: url(../images/plot/rotate.png);
24+
background-repeat: no-repeat;
25+
background-size: 100% 100%;
26+
}
27+
28+
.leaflet-supermap-plot-locked-icon-path {
29+
background-image: url(../images/plot/locked.png);
30+
background-repeat: no-repeat;
31+
background-size: 100% 100%;
32+
}
33+
34+
.leaflet-supermap-plot-avoid-icon-path {
35+
background-image: url(../images/plot/avoid.png);
36+
background-repeat: no-repeat;
37+
background-size: 100% 100%;
38+
}

dist/leaflet/iclient9-plot-leaflet.min.js

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leaflet/include-leaflet.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
inputScript("http://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.js");
7878
}
7979
if (!inArray(excludes, 'iclient9-leaflet')) {
80-
if (supportES6()) {
80+
if (supportES6() && !inArray(includes, 'iclient9-plot-leaflet')) {
8181
inputScript("../../dist/leaflet/iclient9-leaflet-es6.js");
8282
} else {
8383
inputScript("../../dist/leaflet/iclient9-leaflet.js");
@@ -86,6 +86,10 @@
8686
if (inArray(includes, 'iclient9-leaflet-css')) {
8787
inputCSS("../../dist/leaflet/iclient9-leaflet.min.css");
8888
}
89+
if (inArray(includes, 'iclient9-plot-leaflet')) {
90+
inputCSS("../../dist/leaflet/iclient9-plot-leaflet.css");
91+
inputScript("../../dist/leaflet/iclient9-plot-leaflet.min.js");
92+
}
8993
if (inArray(includes, 'leaflet.heat')) {
9094
inputScript("http://cdn.bootcss.com/leaflet.heat/0.2.0/leaflet-heat.js");
9195
}
501 Bytes
987 Bytes

0 commit comments

Comments
 (0)