.
This commit is contained in:
parent
8918d6a06a
commit
d45ea039c7
1327
static/html/index-map.html
Normal file
1327
static/html/index-map.html
Normal file
File diff suppressed because it is too large
Load Diff
2
static/html/res/axios.min.js
vendored
Normal file
2
static/html/res/axios.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
52
static/html/res/fonts/iconfont.css
Normal file
52
static/html/res/fonts/iconfont.css
Normal file
@ -0,0 +1,52 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 4777880 */
|
||||
src: url('iconfont.woff2?t=1733910649633') format('woff2'),
|
||||
url('iconfont.woff?t=1733910649633') format('woff'),
|
||||
url('iconfont.ttf?t=1733910649633') format('truetype'),
|
||||
url('iconfont.svg?t=1733910649633#iconfont') format('svg');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
font-family: "iconfont" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-address:before {
|
||||
content: "\e636";
|
||||
}
|
||||
|
||||
.icon-xiazai6:before {
|
||||
content: "\e606";
|
||||
}
|
||||
|
||||
.icon-guanbi:before {
|
||||
content: "\eca0";
|
||||
}
|
||||
|
||||
.icon-sousuo:before {
|
||||
content: "\e604";
|
||||
}
|
||||
|
||||
.icon-dingwei:before {
|
||||
content: "\e900";
|
||||
}
|
||||
|
||||
.icon-jia:before {
|
||||
content: "\e64d";
|
||||
}
|
||||
|
||||
.icon-luxian:before {
|
||||
content: "\e7c0";
|
||||
}
|
||||
|
||||
.icon-jian:before {
|
||||
content: "\e644";
|
||||
}
|
||||
|
||||
.icon-tuceng:before {
|
||||
content: "\e600";
|
||||
}
|
||||
|
1
static/html/res/fonts/iconfont.js
Normal file
1
static/html/res/fonts/iconfont.js
Normal file
File diff suppressed because one or more lines are too long
72
static/html/res/fonts/iconfont.json
Normal file
72
static/html/res/fonts/iconfont.json
Normal file
@ -0,0 +1,72 @@
|
||||
{
|
||||
"id": "4777880",
|
||||
"name": "地图",
|
||||
"font_family": "iconfont",
|
||||
"css_prefix_text": "icon-",
|
||||
"description": "",
|
||||
"glyphs": [
|
||||
{
|
||||
"icon_id": "1272521",
|
||||
"name": "定位",
|
||||
"font_class": "address",
|
||||
"unicode": "e636",
|
||||
"unicode_decimal": 58934
|
||||
},
|
||||
{
|
||||
"icon_id": "720964",
|
||||
"name": "箭头",
|
||||
"font_class": "xiazai6",
|
||||
"unicode": "e606",
|
||||
"unicode_decimal": 58886
|
||||
},
|
||||
{
|
||||
"icon_id": "6616997",
|
||||
"name": "关闭",
|
||||
"font_class": "guanbi",
|
||||
"unicode": "eca0",
|
||||
"unicode_decimal": 60576
|
||||
},
|
||||
{
|
||||
"icon_id": "12359452",
|
||||
"name": "搜索",
|
||||
"font_class": "sousuo",
|
||||
"unicode": "e604",
|
||||
"unicode_decimal": 58884
|
||||
},
|
||||
{
|
||||
"icon_id": "1727584",
|
||||
"name": "404定位",
|
||||
"font_class": "dingwei",
|
||||
"unicode": "e900",
|
||||
"unicode_decimal": 59648
|
||||
},
|
||||
{
|
||||
"icon_id": "2939198",
|
||||
"name": "加减组件 加号",
|
||||
"font_class": "jia",
|
||||
"unicode": "e64d",
|
||||
"unicode_decimal": 58957
|
||||
},
|
||||
{
|
||||
"icon_id": "4060036",
|
||||
"name": "路线",
|
||||
"font_class": "luxian",
|
||||
"unicode": "e7c0",
|
||||
"unicode_decimal": 59328
|
||||
},
|
||||
{
|
||||
"icon_id": "4511969",
|
||||
"name": "减少",
|
||||
"font_class": "jian",
|
||||
"unicode": "e644",
|
||||
"unicode_decimal": 58948
|
||||
},
|
||||
{
|
||||
"icon_id": "27192177",
|
||||
"name": "图层",
|
||||
"font_class": "tuceng",
|
||||
"unicode": "e600",
|
||||
"unicode_decimal": 58880
|
||||
}
|
||||
]
|
||||
}
|
37
static/html/res/fonts/iconfont.svg
Normal file
37
static/html/res/fonts/iconfont.svg
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Created by iconfont</metadata>
|
||||
<defs>
|
||||
<font id="iconfont" horiz-adv-x="1024">
|
||||
<font-face
|
||||
font-family="iconfont"
|
||||
font-weight="400"
|
||||
font-stretch="normal"
|
||||
units-per-em="1024"
|
||||
ascent="896"
|
||||
descent="-128"
|
||||
/>
|
||||
<missing-glyph />
|
||||
|
||||
<glyph glyph-name="address" unicode="" d="M511.926172 803.249707c-171.169629 0-310.426172-138.907617-310.426172-309.646582 0-22.269727 2.387109-44.512207 7.093652-66.110449 2.136621-9.808594 11.660449-40.120312 12.677344-42.815039 16.679883-43.519043 41.302441-80.622949 72.365625-111.204492l-44.05166 54.521191c3.641309-5.727832 222.219141-326.296582 222.219141-326.296582 8.850586-12.870703 23.495801-21.201855 40.086914-21.201856 0.013184 0 0.025488 0 0.038671 0 0.008789 0 0.021973 0 0.034278 0 16.591992 0 31.238086 8.332031 39.982324 21.040137s231.966211 342.682031 233.017383 344.617383c17.330273 31.275879 29.653418 67.801465 34.777441 106.597266-20.976855-77.739258-7.998926-41.386816-4.478027-25.253614 4.506152 19.857129 7.088379 42.660352 7.088379 66.067383 0 0.014063 0 0.027246 0 0.041309 0 170.737207-139.257422 309.644824-310.426172 309.644824zM780.088379 435.162891c-3.105176-14.228613-14.566992-46.33418-15.469629-48.452344-3.430371-8.05166-13.159863-26.766211-14.128418-28.458106-1.942383-3.396973-228.191309-336.288867-228.191309-336.288867-3.360937-4.93418-8.371582-5.468555-10.371972-5.468554s-7.009277 0.534375-10.367578 5.465039c0 0-218.734277 320.80166-222.186621 326.282519l-0.302344 0.48252c-19.98457 31.416504-33.932812 68.613574-39.247559 108.539648 14.249707-57.538477 5.830664-30.751172 3.946289-22.107129-3.984082 17.542969-6.26748 37.689258-6.26748 58.368164 0 0.026367 0 0.053613 0 0.079981-0.001758 150.88623 123.105762 273.644824 274.424414 273.644824s274.426172-122.758594 274.426172-273.646582c0-19.690137-2.107617-39.354785-6.263965-58.440234zM511.926172 624.848438c-35.129004 0-68.15918-13.645898-93.000586-38.423145-24.858105-24.789551-38.54707-57.754688-38.54707-92.822168 0-9.563379 1.013379-19.061719 3.01289-28.233105 3.191309-14.64873 8.904199-28.576758 16.986621-41.410547 9.73916-15.273633 22.018359-28.016016 36.373536-37.97666l-31.09043 30.231738c12.040137-16.403027 27.910547-29.993555 45.9-39.299414 18.680273-9.664453 38.991797-14.565234 60.368555-14.565235 21.367969 0 41.675098 4.90166 60.359765 14.566993 25.901367 13.649414 46.299023 34.782715 58.674024 60.505664l-12.687012-21.096387c9.762891 13.130859 17.14043 28.665527 21.135937 45.508887-7.855664-25.051465-2.1375-11.106738 1.058203 3.563086 1.9125 8.446289 3.007617 18.145898 3.007618 28.102148 0 0.036914 0 0.072949 0 0.109863 0 35.056934-13.687207 68.020313-38.545313 92.813379-24.851074 24.779004-57.878613 38.42666-93.005859 38.42666zM605.292383 473.061328c-3.476074-15.563672-10.421191-29.148047-20.000391-40.424414 1.081934 0.053613-7.299316-8.660742-17.106152-15.464355l20.990039 20.353711c-8.776758-11.95752-20.339648-21.861035-33.433594-28.638282-13.520215-6.992578-28.260352-10.538965-43.815234-10.538965-15.562793 0-30.308203 3.546387-43.82666 10.538965-13.087793 6.770215-24.643652 16.667578-33.416895 28.62334l-14.511621-10.650586 14.403516 10.796485c-1.299902 1.770996-4.984277 7.507617-5.574903 8.524511-6.787793 11.48291-11.228027 25.105078-12.31084 39.661524 0.486035-6.66123-0.311133 0.400781-0.311132 7.647363 0 0.038672 0 0.077344 0 0.115137 0 25.425879 9.93252 49.33916 27.968554 67.326855 18.04834 18 42.047754 27.912305 67.579102 27.912305 25.52959 0 49.530762-9.914063 67.579101-27.91582 18.037793-17.989453 27.968555-41.900098 27.968555-67.328614 0-6.985547-0.734766-13.896387-2.181445-20.540039z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="xiazai6" unicode="" d="M357.267058 384.160155L739.32602 745.656807c13.343626 13.702999 13.343626 36.23404 0 49.937037-13.343626 13.702999-35.015301 13.702999-48.296428 0L284.377107 410.894282c-7.124934-7.390556-10.171781-17.24984-9.656161-26.734127-0.531245-9.812409 2.531227-19.671693 9.656161-27.046624l406.63686-384.699563c13.281127-13.718623 34.968426-13.718623 48.296428 0 13.343626 14.077994 13.343626 36.23404 0 49.937037L357.267058 384.160155" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="guanbi" unicode="" d="M556.200391 394.81344l351.163733 351.455004a36.37248 36.37248 0 1 1-51.482168 51.482169l-351.127325-351.455004-351.163733 351.491413a36.37248 36.37248 0 1 1-51.482169-51.482169l351.163733-351.455004-351.163733-351.455005a36.37248 36.37248 0 1 1 51.482169-51.482168l351.163733 351.455004 351.127325-351.455004a36.37248 36.37248 0 1 1 51.482168 51.482168l-351.163733 351.418596z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="sousuo" unicode="" d="M747.28417 108.599855l141.845721-141.845722a28.349285 28.349285 0 1 1 40.115976 40.115976l-141.845722 141.845721a28.349285 28.349285 0 0 1-40.115975-40.115975zM880.838594 412.349285a397.187878 397.187878 0 0 0-397.187879-397.187879 397.187878 397.187878 0 0 0-397.187879 397.187879 397.187878 397.187878 0 0 0 397.187879 397.187879 397.187878 397.187878 0 0 0 397.187879-397.187879z m-56.748219 0a340.439661 340.439661 0 1 1-680.928969 0 340.439661 340.439661 0 1 1 680.928969 0z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="dingwei" unicode="" d="M960 416h-65.6C879.2 602.4 730.4 751.2 544 766.4V832h-64v-65.6C293.6 751.2 144.8 602.4 129.6 416H64v-64h65.6c15.2-186.4 164-335.2 350.4-350.4v-65.6h64v65.6c186.4 15.2 335.2 164 350.4 350.4h65.6v64z m-448-352c-176.8 0-320 143.2-320 320s143.2 320 320 320 320-143.2 320-320-143.2-320-320-320z m128 320c0-70.4-57.6-128-128-128s-128 57.6-128 128 57.6 128 128 128 128-57.6 128-128z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="jia" unicode="" d="M441.6875 454.3125H160.613282A70.382813 70.382813 0 0 1 90.125 384c0-39.09375 31.570313-70.3125 70.488282-70.3125H441.6875v-281.074218c0-38.953125 31.464844-70.488282 70.3125-70.488282 39.09375 0 70.3125 31.570313 70.3125 70.488282V313.6875h281.074218A70.382813 70.382813 0 0 1 933.875 384c0 39.09375-31.570313 70.3125-70.488282 70.3125H582.3125V735.386718A70.382813 70.382813 0 0 1 512 805.875c-39.09375 0-70.3125-31.570313-70.3125-70.488282V454.3125z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="luxian" unicode="" d="M431.082727 841.472565L133.269883 472.063124h233.396621v-545.535689h174.710884V470.647762h200.429046L483.002343 841.472565zM890.730117 271.599557s-217.655034 7.491061-349.352729-254.868694v236.261864s196.148439 207.643938 349.352729 160.384661v-141.777831z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="jian" unicode="" d="M860.54126 457.086548H163.45874C123.248779 457.086548 90.372192 424.209961 90.372192 384c0-40.209961 32.876587-73.086548 73.086548-73.086548h697.08252c40.209961 0 73.086548 32.876587 73.086548 73.086548 0 40.209961-32.876587 73.086548-73.086548 73.086548z" horiz-adv-x="1024" />
|
||||
|
||||
<glyph glyph-name="tuceng" unicode="" d="M921.433579 536.157734L532.468631 793.043688c-9.305308 7.343154-20.468631 7.343154-31.637033 0L104.419355 550.840233c-11.163322-7.344425-18.608077-22.019304-20.468631-41.595123 1.859284-14.67742 9.304038-29.358649 20.468631-39.145288l400.13462-251.991364c5.581661-2.444755 11.168402-4.89332 14.88697-4.893319 3.722377 0 11.168402 2.448565 13.027686 4.893319L919.575565 452.973838c11.168402 7.344425 18.608077 22.019304 20.472441 41.593853 0 17.127254-7.446025 34.253239-18.614427 41.590043zM521.304038 308.630429L197.476251 511.694945l316.383033 193.276607 314.522479-210.402591-307.077725-185.938532zM893.177293 282.793498L520.958598 55.266192 135.714758 297.469647c-16.750063 12.231395-37.218694 2.448565-46.524004-19.570739-9.309118-22.019304-1.863094-48.931928 14.88697-61.164593l400.134621-251.991364c5.581661-2.448565 11.163322-4.89332 14.885699-4.893319s11.168402 2.444755 13.027687 4.893319L919.232664 199.608331c16.744983 12.232665 24.191009 39.145288 16.744984 61.164593-3.717297 22.020574-24.191009 31.802134-42.800355 22.020574z" horiz-adv-x="1024" />
|
||||
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 8.0 KiB |
BIN
static/html/res/fonts/iconfont.ttf
Normal file
BIN
static/html/res/fonts/iconfont.ttf
Normal file
Binary file not shown.
BIN
static/html/res/fonts/iconfont.woff
Normal file
BIN
static/html/res/fonts/iconfont.woff
Normal file
Binary file not shown.
BIN
static/html/res/fonts/iconfont.woff2
Normal file
BIN
static/html/res/fonts/iconfont.woff2
Normal file
Binary file not shown.
BIN
static/html/res/images/dt.jpg
Normal file
BIN
static/html/res/images/dt.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
BIN
static/html/res/images/dx.jpg
Normal file
BIN
static/html/res/images/dx.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
static/html/res/images/wx.jpg
Normal file
BIN
static/html/res/images/wx.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
234
static/html/res/index.js
Normal file
234
static/html/res/index.js
Normal file
@ -0,0 +1,234 @@
|
||||
! function(e, n) {
|
||||
"object" == typeof exports && "undefined" != typeof module ? module.exports = n() : "function" == typeof define &&
|
||||
define.amd ? define(n) : (e = e || self).uni = n()
|
||||
}(this, (function() {
|
||||
"use strict";
|
||||
try {
|
||||
var e = {};
|
||||
Object.defineProperty(e, "passive", {
|
||||
get: function() {
|
||||
!0
|
||||
}
|
||||
}), window.addEventListener("test-passive", null, e)
|
||||
} catch (e) {}
|
||||
var n = Object.prototype.hasOwnProperty;
|
||||
|
||||
function i(e, i) {
|
||||
return n.call(e, i)
|
||||
}
|
||||
var t = [];
|
||||
|
||||
function o() {
|
||||
return window.__dcloud_weex_postMessage || window.__dcloud_weex_
|
||||
}
|
||||
|
||||
function a() {
|
||||
return window.__uniapp_x_postMessage || window.__uniapp_x_
|
||||
}
|
||||
var r = function(e, n) {
|
||||
var i = {
|
||||
options: {
|
||||
timestamp: +new Date
|
||||
},
|
||||
name: e,
|
||||
arg: n
|
||||
};
|
||||
if (a()) {
|
||||
if ("postMessage" === e) {
|
||||
var r = {
|
||||
data: n
|
||||
};
|
||||
return window.__uniapp_x_postMessage ? window.__uniapp_x_postMessage(r) : window.__uniapp_x_
|
||||
.postMessage(JSON.stringify(r))
|
||||
}
|
||||
var d = {
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
args: {
|
||||
data: i,
|
||||
webviewIds: t
|
||||
}
|
||||
};
|
||||
window.__uniapp_x_postMessage ? window.__uniapp_x_postMessageToService(d) : window.__uniapp_x_
|
||||
.postMessageToService(JSON.stringify(d))
|
||||
} else if (o()) {
|
||||
if ("postMessage" === e) {
|
||||
var s = {
|
||||
data: [n]
|
||||
};
|
||||
return window.__dcloud_weex_postMessage ? window.__dcloud_weex_postMessage(s) : window
|
||||
.__dcloud_weex_.postMessage(JSON.stringify(s))
|
||||
}
|
||||
var w = {
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
args: {
|
||||
data: i,
|
||||
webviewIds: t
|
||||
}
|
||||
};
|
||||
window.__dcloud_weex_postMessage ? window.__dcloud_weex_postMessageToService(w) : window
|
||||
.__dcloud_weex_.postMessageToService(JSON.stringify(w))
|
||||
} else {
|
||||
if (!window.plus) return window.parent.postMessage({
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
data: i,
|
||||
pageId: ""
|
||||
}, "*");
|
||||
if (0 === t.length) {
|
||||
var u = plus.webview.currentWebview();
|
||||
if (!u) throw new Error("plus.webview.currentWebview() is undefined");
|
||||
var g = u.parent(),
|
||||
v = "";
|
||||
v = g ? g.id : u.id, t.push(v)
|
||||
}
|
||||
if (plus.webview.getWebviewById("__uniapp__service")) plus.webview.postMessageToUniNView({
|
||||
type: "WEB_INVOKE_APPSERVICE",
|
||||
args: {
|
||||
data: i,
|
||||
webviewIds: t
|
||||
}
|
||||
}, "__uniapp__service");
|
||||
else {
|
||||
var c = JSON.stringify(i);
|
||||
plus.webview.getLaunchWebview().evalJS('UniPlusBridge.subscribeHandler("'.concat(
|
||||
"WEB_INVOKE_APPSERVICE", '",').concat(c, ",").concat(JSON.stringify(t), ");"))
|
||||
}
|
||||
}
|
||||
},
|
||||
d = {
|
||||
navigateTo: function() {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
r("navigateTo", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
navigateBack: function() {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.delta;
|
||||
r("navigateBack", {
|
||||
delta: parseInt(n) || 1
|
||||
})
|
||||
},
|
||||
switchTab: function() {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
r("switchTab", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
reLaunch: function() {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
r("reLaunch", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
redirectTo: function() {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
|
||||
n = e.url;
|
||||
r("redirectTo", {
|
||||
url: encodeURI(n)
|
||||
})
|
||||
},
|
||||
getEnv: function(e) {
|
||||
a() ? e({
|
||||
uvue: !0
|
||||
}) : o() ? e({
|
||||
nvue: !0
|
||||
}) : window.plus ? e({
|
||||
plus: !0
|
||||
}) : e({
|
||||
h5: !0
|
||||
})
|
||||
},
|
||||
postMessage: function() {
|
||||
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
||||
r("postMessage", e.data || {})
|
||||
}
|
||||
},
|
||||
s = /uni-app/i.test(navigator.userAgent),
|
||||
w = /Html5Plus/i.test(navigator.userAgent),
|
||||
u = /complete|loaded|interactive/;
|
||||
var g = window.my && navigator.userAgent.indexOf(["t", "n", "e", "i", "l", "C", "y", "a", "p", "i", "l",
|
||||
"A"
|
||||
].reverse().join("")) > -1;
|
||||
var v = window.swan && window.swan.webView && /swan/i.test(navigator.userAgent);
|
||||
var c = window.qq && window.qq.miniProgram && /QQ/i.test(navigator.userAgent) && /miniProgram/i.test(
|
||||
navigator.userAgent);
|
||||
var p = window.tt && window.tt.miniProgram && /toutiaomicroapp/i.test(navigator.userAgent);
|
||||
var _ = window.wx && window.wx.miniProgram && /micromessenger/i.test(navigator.userAgent) && /miniProgram/i
|
||||
.test(navigator.userAgent);
|
||||
var m = window.qa && /quickapp/i.test(navigator.userAgent);
|
||||
var f = window.ks && window.ks.miniProgram && /micromessenger/i.test(navigator.userAgent) && /miniProgram/i
|
||||
.test(navigator.userAgent);
|
||||
var l = window.tt && window.tt.miniProgram && /Lark|Feishu/i.test(navigator.userAgent);
|
||||
var E = window.jd && window.jd.miniProgram && /jdmp/i.test(navigator.userAgent);
|
||||
var x = window.xhs && window.xhs.miniProgram && /xhsminiapp/i.test(navigator.userAgent);
|
||||
for (var S, h = function() {
|
||||
window.UniAppJSBridge = !0, document.dispatchEvent(new CustomEvent("UniAppJSBridgeReady", {
|
||||
bubbles: !0,
|
||||
cancelable: !0
|
||||
}))
|
||||
}, y = [function(e) {
|
||||
if (s || w) return window.__uniapp_x_postMessage || window.__uniapp_x_ || window
|
||||
.__dcloud_weex_postMessage || window.__dcloud_weex_ ? document.addEventListener(
|
||||
"DOMContentLoaded", e) : window.plus && u.test(document.readyState) ?
|
||||
setTimeout(e, 0) : document.addEventListener("plusready", e), d
|
||||
}, function(e) {
|
||||
if (_) return window.WeixinJSBridge && window.WeixinJSBridge.invoke ? setTimeout(e, 0) :
|
||||
document.addEventListener("WeixinJSBridgeReady", e), window.wx.miniProgram
|
||||
}, function(e) {
|
||||
if (c) return window.QQJSBridge && window.QQJSBridge.invoke ? setTimeout(e, 0) : document
|
||||
.addEventListener("QQJSBridgeReady", e), window.qq.miniProgram
|
||||
}, function(e) {
|
||||
if (g) {
|
||||
document.addEventListener("DOMContentLoaded", e);
|
||||
var n = window.my;
|
||||
return {
|
||||
navigateTo: n.navigateTo,
|
||||
navigateBack: n.navigateBack,
|
||||
switchTab: n.switchTab,
|
||||
reLaunch: n.reLaunch,
|
||||
redirectTo: n.redirectTo,
|
||||
postMessage: n.postMessage,
|
||||
getEnv: n.getEnv
|
||||
}
|
||||
}
|
||||
}, function(e) {
|
||||
if (v) return document.addEventListener("DOMContentLoaded", e), window.swan.webView
|
||||
}, function(e) {
|
||||
if (p) return document.addEventListener("DOMContentLoaded", e), window.tt.miniProgram
|
||||
}, function(e) {
|
||||
if (m) {
|
||||
window.QaJSBridge && window.QaJSBridge.invoke ? setTimeout(e, 0) : document
|
||||
.addEventListener("QaJSBridgeReady", e);
|
||||
var n = window.qa;
|
||||
return {
|
||||
navigateTo: n.navigateTo,
|
||||
navigateBack: n.navigateBack,
|
||||
switchTab: n.switchTab,
|
||||
reLaunch: n.reLaunch,
|
||||
redirectTo: n.redirectTo,
|
||||
postMessage: n.postMessage,
|
||||
getEnv: n.getEnv
|
||||
}
|
||||
}
|
||||
}, function(e) {
|
||||
if (f) return window.WeixinJSBridge && window.WeixinJSBridge.invoke ? setTimeout(e, 0) :
|
||||
document.addEventListener("WeixinJSBridgeReady", e), window.ks.miniProgram
|
||||
}, function(e) {
|
||||
if (l) return document.addEventListener("DOMContentLoaded", e), window.tt.miniProgram
|
||||
}, function(e) {
|
||||
if (E) return window.JDJSBridgeReady && window.JDJSBridgeReady.invoke ? setTimeout(e, 0) :
|
||||
document.addEventListener("JDJSBridgeReady", e), window.jd.miniProgram
|
||||
}, function(e) {
|
||||
if (x) return window.xhs.miniProgram
|
||||
}, function(e) {
|
||||
return document.addEventListener("DOMContentLoaded", e), d
|
||||
}], M = 0; M < y.length && !(S = y[M](h)); M++);
|
||||
S || (S = {});
|
||||
var P = "undefined" != typeof uni ? uni : {};
|
||||
if (!P.navigateTo)
|
||||
for (var b in S) i(S, b) && (P[b] = S[b]);
|
||||
return P.webView = S, P
|
||||
}));
|
2
static/html/res/jquery.min.js
vendored
Normal file
2
static/html/res/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
656
static/html/res/leaflet.css
Normal file
656
static/html/res/leaflet.css
Normal file
@ -0,0 +1,656 @@
|
||||
/* required styles */
|
||||
|
||||
.leaflet-pane,
|
||||
.leaflet-tile,
|
||||
.leaflet-marker-icon,
|
||||
.leaflet-marker-shadow,
|
||||
.leaflet-tile-container,
|
||||
.leaflet-pane > svg,
|
||||
.leaflet-pane > canvas,
|
||||
.leaflet-zoom-box,
|
||||
.leaflet-image-layer,
|
||||
.leaflet-layer {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.leaflet-container {
|
||||
overflow: hidden;
|
||||
}
|
||||
.leaflet-tile,
|
||||
.leaflet-marker-icon,
|
||||
.leaflet-marker-shadow {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-user-drag: none;
|
||||
}
|
||||
/* Prevents IE11 from highlighting tiles in blue */
|
||||
.leaflet-tile::selection {
|
||||
background: transparent;
|
||||
}
|
||||
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
|
||||
.leaflet-safari .leaflet-tile {
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
}
|
||||
/* hack that prevents hw layers "stretching" when loading new tiles */
|
||||
.leaflet-safari .leaflet-tile-container {
|
||||
width: 1600px;
|
||||
height: 1600px;
|
||||
-webkit-transform-origin: 0 0;
|
||||
}
|
||||
.leaflet-marker-icon,
|
||||
.leaflet-marker-shadow {
|
||||
display: block;
|
||||
}
|
||||
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
|
||||
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
|
||||
.leaflet-container .leaflet-overlay-pane svg {
|
||||
max-width: none !important;
|
||||
max-height: none !important;
|
||||
}
|
||||
.leaflet-container .leaflet-marker-pane img,
|
||||
.leaflet-container .leaflet-shadow-pane img,
|
||||
.leaflet-container .leaflet-tile-pane img,
|
||||
.leaflet-container img.leaflet-image-layer,
|
||||
.leaflet-container .leaflet-tile {
|
||||
max-width: none !important;
|
||||
max-height: none !important;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.leaflet-container.leaflet-touch-zoom {
|
||||
-ms-touch-action: pan-x pan-y;
|
||||
touch-action: pan-x pan-y;
|
||||
}
|
||||
.leaflet-container.leaflet-touch-drag {
|
||||
-ms-touch-action: pinch-zoom;
|
||||
/* Fallback for FF which doesn't support pinch-zoom */
|
||||
touch-action: none;
|
||||
touch-action: pinch-zoom;
|
||||
}
|
||||
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
}
|
||||
.leaflet-container {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
.leaflet-container a {
|
||||
-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
|
||||
}
|
||||
.leaflet-tile {
|
||||
filter: inherit;
|
||||
visibility: hidden;
|
||||
}
|
||||
.leaflet-tile-loaded {
|
||||
visibility: inherit;
|
||||
}
|
||||
.leaflet-zoom-box {
|
||||
width: 0;
|
||||
height: 0;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
z-index: 800;
|
||||
}
|
||||
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
|
||||
.leaflet-overlay-pane svg {
|
||||
-moz-user-select: none;
|
||||
}
|
||||
|
||||
.leaflet-pane { z-index: 400; }
|
||||
|
||||
.leaflet-tile-pane { z-index: 200; }
|
||||
.leaflet-overlay-pane { z-index: 400; }
|
||||
.leaflet-shadow-pane { z-index: 500; }
|
||||
.leaflet-marker-pane { z-index: 600; }
|
||||
.leaflet-tooltip-pane { z-index: 650; }
|
||||
.leaflet-popup-pane { z-index: 700; }
|
||||
|
||||
.leaflet-map-pane canvas { z-index: 100; }
|
||||
.leaflet-map-pane svg { z-index: 200; }
|
||||
|
||||
.leaflet-vml-shape {
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
}
|
||||
.lvml {
|
||||
behavior: url(#default#VML);
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
/* control positioning */
|
||||
|
||||
.leaflet-control {
|
||||
position: relative;
|
||||
z-index: 800;
|
||||
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
||||
pointer-events: auto;
|
||||
}
|
||||
.leaflet-top,
|
||||
.leaflet-bottom {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
pointer-events: none;
|
||||
}
|
||||
.leaflet-top {
|
||||
top: 0;
|
||||
}
|
||||
.leaflet-right {
|
||||
right: 0;
|
||||
}
|
||||
.leaflet-bottom {
|
||||
bottom: 0;
|
||||
}
|
||||
.leaflet-left {
|
||||
left: 0;
|
||||
}
|
||||
.leaflet-control {
|
||||
float: left;
|
||||
clear: both;
|
||||
}
|
||||
.leaflet-right .leaflet-control {
|
||||
float: right;
|
||||
}
|
||||
.leaflet-top .leaflet-control {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.leaflet-bottom .leaflet-control {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.leaflet-left .leaflet-control {
|
||||
margin-left: 10px;
|
||||
}
|
||||
.leaflet-right .leaflet-control {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
/* zoom and fade animations */
|
||||
|
||||
.leaflet-fade-anim .leaflet-popup {
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.2s linear;
|
||||
-moz-transition: opacity 0.2s linear;
|
||||
transition: opacity 0.2s linear;
|
||||
}
|
||||
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
|
||||
opacity: 1;
|
||||
}
|
||||
.leaflet-zoom-animated {
|
||||
-webkit-transform-origin: 0 0;
|
||||
-ms-transform-origin: 0 0;
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
svg.leaflet-zoom-animated {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.leaflet-zoom-anim .leaflet-zoom-animated {
|
||||
-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
|
||||
-moz-transition: -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
|
||||
transition: transform 0.25s cubic-bezier(0,0,0.25,1);
|
||||
}
|
||||
.leaflet-zoom-anim .leaflet-tile,
|
||||
.leaflet-pan-anim .leaflet-tile {
|
||||
-webkit-transition: none;
|
||||
-moz-transition: none;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.leaflet-zoom-anim .leaflet-zoom-hide {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* cursors */
|
||||
|
||||
.leaflet-interactive {
|
||||
cursor: pointer;
|
||||
}
|
||||
.leaflet-grab {
|
||||
cursor: -webkit-grab;
|
||||
cursor: -moz-grab;
|
||||
cursor: grab;
|
||||
}
|
||||
.leaflet-crosshair,
|
||||
.leaflet-crosshair .leaflet-interactive {
|
||||
cursor: crosshair;
|
||||
}
|
||||
.leaflet-popup-pane,
|
||||
.leaflet-control {
|
||||
cursor: auto;
|
||||
}
|
||||
.leaflet-dragging .leaflet-grab,
|
||||
.leaflet-dragging .leaflet-grab .leaflet-interactive,
|
||||
.leaflet-dragging .leaflet-marker-draggable {
|
||||
cursor: move;
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: -moz-grabbing;
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
/* marker & overlays interactivity */
|
||||
.leaflet-marker-icon,
|
||||
.leaflet-marker-shadow,
|
||||
.leaflet-image-layer,
|
||||
.leaflet-pane > svg path,
|
||||
.leaflet-tile-container {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.leaflet-marker-icon.leaflet-interactive,
|
||||
.leaflet-image-layer.leaflet-interactive,
|
||||
.leaflet-pane > svg path.leaflet-interactive,
|
||||
svg.leaflet-image-layer.leaflet-interactive path {
|
||||
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
/* visual tweaks */
|
||||
|
||||
.leaflet-container {
|
||||
background: #ddd;
|
||||
outline-offset: 1px;
|
||||
}
|
||||
.leaflet-container a {
|
||||
color: #0078A8;
|
||||
}
|
||||
.leaflet-zoom-box {
|
||||
border: 2px dotted #38f;
|
||||
background: rgba(255,255,255,0.5);
|
||||
}
|
||||
|
||||
|
||||
/* general typography */
|
||||
.leaflet-container {
|
||||
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
||||
font-size: 12px;
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
|
||||
/* general toolbar styles */
|
||||
|
||||
.leaflet-bar {
|
||||
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.leaflet-bar a {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #ccc;
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
display: block;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
.leaflet-bar a,
|
||||
.leaflet-control-layers-toggle {
|
||||
background-position: 50% 50%;
|
||||
background-repeat: no-repeat;
|
||||
display: block;
|
||||
}
|
||||
.leaflet-bar a:hover,
|
||||
.leaflet-bar a:focus {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
.leaflet-bar a:first-child {
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
.leaflet-bar a:last-child {
|
||||
border-bottom-left-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom: none;
|
||||
}
|
||||
.leaflet-bar a.leaflet-disabled {
|
||||
cursor: default;
|
||||
background-color: #f4f4f4;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
.leaflet-touch .leaflet-bar a {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.leaflet-touch .leaflet-bar a:first-child {
|
||||
border-top-left-radius: 2px;
|
||||
border-top-right-radius: 2px;
|
||||
}
|
||||
.leaflet-touch .leaflet-bar a:last-child {
|
||||
border-bottom-left-radius: 2px;
|
||||
border-bottom-right-radius: 2px;
|
||||
}
|
||||
|
||||
/* zoom control */
|
||||
|
||||
.leaflet-control-zoom-in,
|
||||
.leaflet-control-zoom-out {
|
||||
font: bold 18px 'Lucida Console', Monaco, monospace;
|
||||
text-indent: 1px;
|
||||
}
|
||||
|
||||
.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
|
||||
/* layers control */
|
||||
|
||||
.leaflet-control-layers {
|
||||
box-shadow: 0 1px 5px rgba(0,0,0,0.4);
|
||||
background: #fff;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.leaflet-control-layers-toggle {
|
||||
background-image: url(images/layers.png);
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
.leaflet-retina .leaflet-control-layers-toggle {
|
||||
background-image: url(images/layers-2x.png);
|
||||
background-size: 26px 26px;
|
||||
}
|
||||
.leaflet-touch .leaflet-control-layers-toggle {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
.leaflet-control-layers .leaflet-control-layers-list,
|
||||
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
|
||||
display: none;
|
||||
}
|
||||
.leaflet-control-layers-expanded .leaflet-control-layers-list {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
.leaflet-control-layers-expanded {
|
||||
padding: 6px 10px 6px 6px;
|
||||
color: #333;
|
||||
background: #fff;
|
||||
}
|
||||
.leaflet-control-layers-scrollbar {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.leaflet-control-layers-selector {
|
||||
margin-top: 2px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
}
|
||||
.leaflet-control-layers label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
font-size: 1.08333em;
|
||||
}
|
||||
.leaflet-control-layers-separator {
|
||||
height: 0;
|
||||
border-top: 1px solid #ddd;
|
||||
margin: 5px -10px 5px -6px;
|
||||
}
|
||||
|
||||
/* Default icon URLs */
|
||||
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
|
||||
background-image: url(images/marker-icon.png);
|
||||
}
|
||||
|
||||
|
||||
/* attribution and scale controls */
|
||||
|
||||
.leaflet-container .leaflet-control-attribution {
|
||||
background: #fff;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
margin: 0;
|
||||
}
|
||||
.leaflet-control-attribution,
|
||||
.leaflet-control-scale-line {
|
||||
padding: 0 5px;
|
||||
color: #333;
|
||||
line-height: 1.4;
|
||||
}
|
||||
.leaflet-control-attribution a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.leaflet-control-attribution a:hover,
|
||||
.leaflet-control-attribution a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.leaflet-attribution-flag {
|
||||
display: inline !important;
|
||||
vertical-align: baseline !important;
|
||||
width: 1em;
|
||||
height: 0.6669em;
|
||||
}
|
||||
.leaflet-left .leaflet-control-scale {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.leaflet-bottom .leaflet-control-scale {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.leaflet-control-scale-line {
|
||||
border: 2px solid #777;
|
||||
border-top: none;
|
||||
line-height: 1.1;
|
||||
padding: 2px 5px 1px;
|
||||
white-space: nowrap;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
text-shadow: 1px 1px #fff;
|
||||
}
|
||||
.leaflet-control-scale-line:not(:first-child) {
|
||||
border-top: 2px solid #777;
|
||||
border-bottom: none;
|
||||
margin-top: -2px;
|
||||
}
|
||||
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
|
||||
border-bottom: 2px solid #777;
|
||||
}
|
||||
|
||||
.leaflet-touch .leaflet-control-attribution,
|
||||
.leaflet-touch .leaflet-control-layers,
|
||||
.leaflet-touch .leaflet-bar {
|
||||
box-shadow: none;
|
||||
}
|
||||
.leaflet-touch .leaflet-control-layers,
|
||||
.leaflet-touch .leaflet-bar {
|
||||
border: 2px solid rgba(0,0,0,0.2);
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
|
||||
/* popup */
|
||||
|
||||
.leaflet-popup {
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.leaflet-popup-content-wrapper {
|
||||
padding: 1px;
|
||||
text-align: left;
|
||||
border-radius: 12px;
|
||||
}
|
||||
.leaflet-popup-content {
|
||||
margin: 13px 24px 13px 20px;
|
||||
line-height: 1.3;
|
||||
font-size: 13px;
|
||||
font-size: 1.08333em;
|
||||
min-height: 1px;
|
||||
}
|
||||
.leaflet-popup-content p {
|
||||
margin: 17px 0;
|
||||
margin: 1.3em 0;
|
||||
}
|
||||
.leaflet-popup-tip-container {
|
||||
width: 40px;
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
margin-top: -1px;
|
||||
margin-left: -20px;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
.leaflet-popup-tip {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
padding: 1px;
|
||||
|
||||
margin: -10px auto 0;
|
||||
pointer-events: auto;
|
||||
|
||||
-webkit-transform: rotate(45deg);
|
||||
-moz-transform: rotate(45deg);
|
||||
-ms-transform: rotate(45deg);
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
.leaflet-popup-content-wrapper,
|
||||
.leaflet-popup-tip {
|
||||
background: white;
|
||||
color: #333;
|
||||
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
||||
}
|
||||
.leaflet-container a.leaflet-popup-close-button {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
border: none;
|
||||
text-align: center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font: 16px/24px Tahoma, Verdana, sans-serif;
|
||||
color: #757575;
|
||||
text-decoration: none;
|
||||
background: transparent;
|
||||
}
|
||||
.leaflet-container a.leaflet-popup-close-button:hover,
|
||||
.leaflet-container a.leaflet-popup-close-button:focus {
|
||||
color: #585858;
|
||||
}
|
||||
.leaflet-popup-scrolled {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.leaflet-oldie .leaflet-popup-content-wrapper {
|
||||
-ms-zoom: 1;
|
||||
}
|
||||
.leaflet-oldie .leaflet-popup-tip {
|
||||
width: 24px;
|
||||
margin: 0 auto;
|
||||
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
||||
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
||||
}
|
||||
|
||||
.leaflet-oldie .leaflet-control-zoom,
|
||||
.leaflet-oldie .leaflet-control-layers,
|
||||
.leaflet-oldie .leaflet-popup-content-wrapper,
|
||||
.leaflet-oldie .leaflet-popup-tip {
|
||||
border: 1px solid #999;
|
||||
}
|
||||
|
||||
|
||||
/* div icon */
|
||||
|
||||
.leaflet-div-icon {
|
||||
background: #fff;
|
||||
border: 1px solid #666;
|
||||
}
|
||||
|
||||
|
||||
/* Tooltip */
|
||||
/* Base styles for the element that has a tooltip */
|
||||
.leaflet-tooltip {
|
||||
position: absolute;
|
||||
padding: 6px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #fff;
|
||||
border-radius: 3px;
|
||||
color: #222;
|
||||
white-space: nowrap;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
box-shadow: 0 1px 3px rgba(0,0,0,0.4);
|
||||
}
|
||||
.leaflet-tooltip.leaflet-interactive {
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.leaflet-tooltip-top:before,
|
||||
.leaflet-tooltip-bottom:before,
|
||||
.leaflet-tooltip-left:before,
|
||||
.leaflet-tooltip-right:before {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border: 6px solid transparent;
|
||||
background: transparent;
|
||||
content: "";
|
||||
}
|
||||
|
||||
/* Directions */
|
||||
|
||||
.leaflet-tooltip-bottom {
|
||||
margin-top: 6px;
|
||||
}
|
||||
.leaflet-tooltip-top {
|
||||
margin-top: -6px;
|
||||
}
|
||||
.leaflet-tooltip-bottom:before,
|
||||
.leaflet-tooltip-top:before {
|
||||
left: 50%;
|
||||
margin-left: -6px;
|
||||
}
|
||||
.leaflet-tooltip-top:before {
|
||||
bottom: 0;
|
||||
margin-bottom: -12px;
|
||||
border-top-color: #fff;
|
||||
}
|
||||
.leaflet-tooltip-bottom:before {
|
||||
top: 0;
|
||||
margin-top: -12px;
|
||||
margin-left: -6px;
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
.leaflet-tooltip-left {
|
||||
margin-left: -6px;
|
||||
}
|
||||
.leaflet-tooltip-right {
|
||||
margin-left: 6px;
|
||||
}
|
||||
.leaflet-tooltip-left:before,
|
||||
.leaflet-tooltip-right:before {
|
||||
top: 50%;
|
||||
margin-top: -6px;
|
||||
}
|
||||
.leaflet-tooltip-left:before {
|
||||
right: 0;
|
||||
margin-right: -12px;
|
||||
border-left-color: #fff;
|
||||
}
|
||||
.leaflet-tooltip-right:before {
|
||||
left: 0;
|
||||
margin-left: -12px;
|
||||
border-right-color: #fff;
|
||||
}
|
||||
|
||||
/* Printing */
|
||||
|
||||
@media print {
|
||||
/* Prevent printers from removing background-images of controls. */
|
||||
.leaflet-control {
|
||||
-webkit-print-color-adjust: exact;
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
}
|
6
static/html/res/leaflet.js
Normal file
6
static/html/res/leaflet.js
Normal file
File diff suppressed because one or more lines are too long
1327
static/html/tianditu.html
Normal file
1327
static/html/tianditu.html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user