vue2-openlayers 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/demo.html +1 -0
- package/package.json +3 -4
- package/{vue-opnelayers/vue-openlayers.common.js → vue2-openlayers.common.js} +15 -27
- package/vue2-openlayers.common.js.map +1 -0
- package/{vue-opnelayers/vue-openlayers.umd.js → vue2-openlayers.umd.js} +17 -29
- package/vue2-openlayers.umd.js.map +1 -0
- package/vue2-openlayers.umd.min.js +2 -0
- package/vue2-openlayers.umd.min.js.map +1 -0
- package/README.md +0 -24
- package/babel.config.js +0 -5
- package/dist/css/index.34f0f0b9.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/img/bottom_box.625e42a5.png +0 -0
- package/dist/img/car1.dd9a098b.png +0 -0
- package/dist/img/complete.2d0fa612.png +0 -0
- package/dist/img/diago_content.0d88c929.png +0 -0
- package/dist/img/diago_text_box.2e4da66b.png +0 -0
- package/dist/img/diago_title.2bd95b7a.png +0 -0
- package/dist/img/exception.a1eeefc3.png +0 -0
- package/dist/img/info1.829a6d7e.png +0 -0
- package/dist/img/info2.09e6e79e.png +0 -0
- package/dist/img/info3.3f96f756.png +0 -0
- package/dist/img/info4.6adcb927.png +0 -0
- package/dist/img/info5.ff3fdd2f.png +0 -0
- package/dist/img/info6.6e159d95.png +0 -0
- package/dist/img/left_box.40419b36.png +0 -0
- package/dist/img/money1.0743e701.png +0 -0
- package/dist/img/money2.58610d4d.png +0 -0
- package/dist/img/operating_fee.e6523ccc.png +0 -0
- package/dist/img/processing.28e46e7f.png +0 -0
- package/dist/img/public_content_box.39782fb5.png +0 -0
- package/dist/img/public_title_box1.6002afd4.png +0 -0
- package/dist/img/right_box.08458fe5.png +0 -0
- package/dist/img/success1.0cbc58af.png +0 -0
- package/dist/img/success2.af1a7499.png +0 -0
- package/dist/img/success3.d74caac5.png +0 -0
- package/dist/img/success4.37cc2343.png +0 -0
- package/dist/img/top_box.806bc756.png +0 -0
- package/dist/img/warehouse_map_popup.fa26d6cd.png +0 -0
- package/dist/img/work_error.3c528fdd.png +0 -0
- package/dist/img/work_su.0cbc58af.png +0 -0
- package/dist/img/work_wait.a2a706c9.png +0 -0
- package/dist/index.html +0 -13
- package/dist/js/chunk-vendors.901bdf0b.js +0 -8
- package/dist/js/chunk-vendors.901bdf0b.js.map +0 -1
- package/dist/js/index.29606843.js +0 -2
- package/dist/js/index.29606843.js.map +0 -1
- package/docs/.vuepress/config.js +0 -25
- package/docs/.vuepress/dist/404.html +0 -20
- package/docs/.vuepress/dist/assets/css/0.styles.7cfabf05.css +0 -1
- package/docs/.vuepress/dist/assets/img/7F8296FF-4A75-4013-BBFC-D482BF5303FF.597ff8a1.png +0 -0
- package/docs/.vuepress/dist/assets/img/gateway.98d6c8ec.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/mysql_images.07b3a3e5.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/nacos.741b050d.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/rabbitmq.50b12be7.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/redis_images.f0979945.jpg +0 -0
- package/docs/.vuepress/dist/assets/img/search.83621669.svg +0 -1
- package/docs/.vuepress/dist/assets/img/server-structure.6e0aa81e.png +0 -0
- package/docs/.vuepress/dist/assets/js/10.285f55d1.js +0 -1
- package/docs/.vuepress/dist/assets/js/11.decff412.js +0 -1
- package/docs/.vuepress/dist/assets/js/12.b9ed6e21.js +0 -1
- package/docs/.vuepress/dist/assets/js/13.d9c8c7a9.js +0 -1
- package/docs/.vuepress/dist/assets/js/14.6495a0e6.js +0 -1
- package/docs/.vuepress/dist/assets/js/15.70d64d1a.js +0 -1
- package/docs/.vuepress/dist/assets/js/16.a93c018c.js +0 -1
- package/docs/.vuepress/dist/assets/js/17.ed91eb16.js +0 -1
- package/docs/.vuepress/dist/assets/js/18.d07cd593.js +0 -1
- package/docs/.vuepress/dist/assets/js/19.4b8a0f22.js +0 -1
- package/docs/.vuepress/dist/assets/js/2.2668fa1b.js +0 -1
- package/docs/.vuepress/dist/assets/js/20.52de9326.js +0 -1
- package/docs/.vuepress/dist/assets/js/21.2293a5ca.js +0 -1
- package/docs/.vuepress/dist/assets/js/3.fd22fded.js +0 -1
- package/docs/.vuepress/dist/assets/js/4.ad26b2fa.js +0 -1
- package/docs/.vuepress/dist/assets/js/5.a1c97bcb.js +0 -1
- package/docs/.vuepress/dist/assets/js/6.32f67120.js +0 -1
- package/docs/.vuepress/dist/assets/js/7.99161716.js +0 -1
- package/docs/.vuepress/dist/assets/js/8.a0d65864.js +0 -1
- package/docs/.vuepress/dist/assets/js/9.2d06e692.js +0 -1
- package/docs/.vuepress/dist/assets/js/app.0be82e56.js +0 -15
- package/docs/.vuepress/dist/config/config_list.html +0 -58
- package/docs/.vuepress/dist/config/index.html +0 -69
- package/docs/.vuepress/dist/guide/admin.html +0 -26
- package/docs/.vuepress/dist/guide/deepchange.html +0 -213
- package/docs/.vuepress/dist/guide/gateway.html +0 -45
- package/docs/.vuepress/dist/guide/hystrix.html +0 -26
- package/docs/.vuepress/dist/guide/index.html +0 -66
- package/docs/.vuepress/dist/guide/nacos.html +0 -26
- package/docs/.vuepress/dist/guide/opsdev.html +0 -26
- package/docs/.vuepress/dist/guide/rabbitmq.html +0 -26
- package/docs/.vuepress/dist/guide/skywarking.html +0 -52
- package/docs/.vuepress/dist/guide/summary.html +0 -74
- package/docs/.vuepress/dist/help/index.html +0 -28
- package/docs/.vuepress/dist/help/markdown.html +0 -33
- package/docs/.vuepress/dist/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
- package/docs/.vuepress/dist/images/gateway.jpg +0 -0
- package/docs/.vuepress/dist/images/mysql_images.jpg +0 -0
- package/docs/.vuepress/dist/images/nacos.jpg +0 -0
- package/docs/.vuepress/dist/images/rabbitmq.jpg +0 -0
- package/docs/.vuepress/dist/images/redis_images.jpg +0 -0
- package/docs/.vuepress/dist/images/server-structure.png +0 -0
- package/docs/.vuepress/dist/index.html +0 -26
- package/docs/.vuepress/dist/logo.jpg +0 -0
- package/docs/.vuepress/nav.js +0 -34
- package/docs/.vuepress/public/images/7F8296FF-4A75-4013-BBFC-D482BF5303FF.png +0 -0
- package/docs/.vuepress/public/images/gateway.jpg +0 -0
- package/docs/.vuepress/public/images/mysql_images.jpg +0 -0
- package/docs/.vuepress/public/images/nacos.jpg +0 -0
- package/docs/.vuepress/public/images/rabbitmq.jpg +0 -0
- package/docs/.vuepress/public/images/redis_images.jpg +0 -0
- package/docs/.vuepress/public/images/server-structure.png +0 -0
- package/docs/.vuepress/public/logo.jpg +0 -0
- package/docs/.vuepress/sidebar.js +0 -62
- package/docs/README.md +0 -15
- package/docs/config/README.md +0 -108
- package/docs/config/config_list.md +0 -42
- package/docs/guide/README.md +0 -79
- package/docs/guide/admin.md +0 -25
- package/docs/guide/deepchange.md +0 -393
- package/docs/guide/gateway.md +0 -40
- package/docs/guide/hystrix.md +0 -21
- package/docs/guide/nacos.md +0 -7
- package/docs/guide/opsdev.md +0 -12
- package/docs/guide/rabbitmq.md +0 -15
- package/docs/guide/skywarking.md +0 -77
- package/docs/guide/summary.md +0 -120
- package/docs/help/README.md +0 -29
- package/docs/help/markdown.md +0 -165
- package/examples/App.vue +0 -21
- package/examples/assets/css/map-base.scss +0 -333
- package/examples/assets/fonts/pmzd.ttf +0 -0
- package/examples/assets/icons/index.js +0 -9
- package/examples/assets/icons/svg/404.svg +0 -1
- package/examples/assets/icons/svg/bug.svg +0 -1
- package/examples/assets/icons/svg/build.svg +0 -1
- package/examples/assets/icons/svg/button.svg +0 -1
- package/examples/assets/icons/svg/cascader.svg +0 -1
- package/examples/assets/icons/svg/chart.svg +0 -1
- package/examples/assets/icons/svg/checkbox.svg +0 -1
- package/examples/assets/icons/svg/clipboard.svg +0 -1
- package/examples/assets/icons/svg/code.svg +0 -1
- package/examples/assets/icons/svg/color.svg +0 -1
- package/examples/assets/icons/svg/component.svg +0 -1
- package/examples/assets/icons/svg/dashboard.svg +0 -1
- package/examples/assets/icons/svg/date-range.svg +0 -1
- package/examples/assets/icons/svg/date.svg +0 -1
- package/examples/assets/icons/svg/dict.svg +0 -1
- package/examples/assets/icons/svg/documentation.svg +0 -1
- package/examples/assets/icons/svg/download.svg +0 -1
- package/examples/assets/icons/svg/drag.svg +0 -1
- package/examples/assets/icons/svg/druid.svg +0 -1
- package/examples/assets/icons/svg/edit.svg +0 -1
- package/examples/assets/icons/svg/education.svg +0 -1
- package/examples/assets/icons/svg/email.svg +0 -1
- package/examples/assets/icons/svg/example.svg +0 -1
- package/examples/assets/icons/svg/excel.svg +0 -1
- package/examples/assets/icons/svg/exit-fullscreen.svg +0 -1
- package/examples/assets/icons/svg/eye-open.svg +0 -1
- package/examples/assets/icons/svg/eye.svg +0 -1
- package/examples/assets/icons/svg/form.svg +0 -1
- package/examples/assets/icons/svg/fullscreen.svg +0 -1
- package/examples/assets/icons/svg/github.svg +0 -1
- package/examples/assets/icons/svg/guide.svg +0 -1
- package/examples/assets/icons/svg/icon.svg +0 -1
- package/examples/assets/icons/svg/input.svg +0 -1
- package/examples/assets/icons/svg/international.svg +0 -1
- package/examples/assets/icons/svg/job.svg +0 -1
- package/examples/assets/icons/svg/language.svg +0 -1
- package/examples/assets/icons/svg/link.svg +0 -1
- package/examples/assets/icons/svg/list.svg +0 -1
- package/examples/assets/icons/svg/lock.svg +0 -1
- package/examples/assets/icons/svg/log.svg +0 -1
- package/examples/assets/icons/svg/logininfor.svg +0 -1
- package/examples/assets/icons/svg/message.svg +0 -1
- package/examples/assets/icons/svg/money.svg +0 -1
- package/examples/assets/icons/svg/monitor.svg +0 -2
- package/examples/assets/icons/svg/nested.svg +0 -1
- package/examples/assets/icons/svg/number.svg +0 -1
- package/examples/assets/icons/svg/online.svg +0 -1
- package/examples/assets/icons/svg/password.svg +0 -1
- package/examples/assets/icons/svg/pdf.svg +0 -1
- package/examples/assets/icons/svg/people.svg +0 -1
- package/examples/assets/icons/svg/peoples.svg +0 -1
- package/examples/assets/icons/svg/phone.svg +0 -1
- package/examples/assets/icons/svg/post.svg +0 -1
- package/examples/assets/icons/svg/qq.svg +0 -1
- package/examples/assets/icons/svg/question.svg +0 -1
- package/examples/assets/icons/svg/radio.svg +0 -1
- package/examples/assets/icons/svg/rate.svg +0 -1
- package/examples/assets/icons/svg/redis.svg +0 -1
- package/examples/assets/icons/svg/row.svg +0 -1
- package/examples/assets/icons/svg/search.svg +0 -1
- package/examples/assets/icons/svg/select.svg +0 -1
- package/examples/assets/icons/svg/server.svg +0 -1
- package/examples/assets/icons/svg/shopping.svg +0 -1
- package/examples/assets/icons/svg/size.svg +0 -1
- package/examples/assets/icons/svg/skill.svg +0 -1
- package/examples/assets/icons/svg/slider.svg +0 -1
- package/examples/assets/icons/svg/star.svg +0 -1
- package/examples/assets/icons/svg/swagger.svg +0 -1
- package/examples/assets/icons/svg/switch.svg +0 -1
- package/examples/assets/icons/svg/system.svg +0 -2
- package/examples/assets/icons/svg/tab.svg +0 -1
- package/examples/assets/icons/svg/table.svg +0 -1
- package/examples/assets/icons/svg/textarea.svg +0 -1
- package/examples/assets/icons/svg/theme.svg +0 -1
- package/examples/assets/icons/svg/time-range.svg +0 -1
- package/examples/assets/icons/svg/time.svg +0 -1
- package/examples/assets/icons/svg/tool.svg +0 -1
- package/examples/assets/icons/svg/tree-table.svg +0 -1
- package/examples/assets/icons/svg/tree.svg +0 -1
- package/examples/assets/icons/svg/turn-right.svg +0 -1
- package/examples/assets/icons/svg/upload.svg +0 -1
- package/examples/assets/icons/svg/user.svg +0 -1
- package/examples/assets/icons/svg/validCode.svg +0 -1
- package/examples/assets/icons/svg/wechat.svg +0 -1
- package/examples/assets/icons/svg/zip.svg +0 -1
- package/examples/assets/icons/svgo.yml +0 -22
- package/examples/assets/images/close_diago.png +0 -0
- package/examples/assets/images/red_circle.png +0 -0
- package/examples/assets/images/w_mj_map.png +0 -0
- package/examples/assets/images/warehouse_map_popup.png +0 -0
- package/examples/assets/images/warehouse_map_success.png +0 -0
- package/examples/assets/images/warehouse_map_warning.png +0 -0
- package/examples/assets/js/gps.js +0 -222
- package/examples/assets/logo.png +0 -0
- package/examples/components/HelloWorld.vue +0 -273
- package/examples/components/MapPopup.vue +0 -80
- package/examples/data/510000.js +0 -2056
- package/examples/data/510000.json +0 -2055
- package/examples/data/testData.js +0 -2088
- package/examples/main.js +0 -28
- package/examples/utils/echarts/esresize.js +0 -110
- package/jsconfig.json +0 -19
- package/vue-opnelayers/demo.html +0 -1
- package/vue-opnelayers/vue-openlayers.common.js.map +0 -1
- package/vue-opnelayers/vue-openlayers.umd.js.map +0 -1
- package/vue-opnelayers/vue-openlayers.umd.min.js +0 -2
- package/vue-opnelayers/vue-openlayers.umd.min.js.map +0 -1
- package/vue.config.js +0 -54
- /package/{vue-opnelayers/vue-openlayers.css → vue2-openlayers.css} +0 -0
package/examples/main.js
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
import Vue from 'vue'
|
2
|
-
import App from './App.vue'
|
3
|
-
import VueOpenlayers from './../packages/index'
|
4
|
-
import * as echarts from 'echarts';
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
// Vue.prototype.$numeral = require('numeral');
|
9
|
-
// Vue.prototype.parseTime = parseTime;
|
10
|
-
|
11
|
-
Vue.use(VueOpenlayers);
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
// 创建一个事件总线
|
16
|
-
|
17
|
-
let bus = new Vue();
|
18
|
-
Vue.prototype.$bus = bus;
|
19
|
-
window.bus = bus;
|
20
|
-
|
21
|
-
// 全局方法挂载
|
22
|
-
Vue.prototype.$echarts = echarts;
|
23
|
-
|
24
|
-
Vue.config.productionTip = false
|
25
|
-
|
26
|
-
new Vue({
|
27
|
-
render: h => h(App),
|
28
|
-
}).$mount('#app')
|
@@ -1,110 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
// echarts 图表适配
|
4
|
-
|
5
|
-
|
6
|
-
var EleResize = {
|
7
|
-
_handleResize: function (e) {
|
8
|
-
var ele = e.target || e.srcElement
|
9
|
-
var trigger = ele.__resizeTrigger__
|
10
|
-
if (trigger) {
|
11
|
-
var handlers = trigger.__z_resizeListeners
|
12
|
-
if (handlers) {
|
13
|
-
var size = handlers.length
|
14
|
-
for (var i = 0; i < size; i++) {
|
15
|
-
var h = handlers[i]
|
16
|
-
var handler = h.handler
|
17
|
-
var context = h.context
|
18
|
-
handler.apply(context, [e])
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
|
-
_removeHandler: function (ele, handler, context) {
|
24
|
-
var handlers = ele.__z_resizeListeners
|
25
|
-
if (handlers) {
|
26
|
-
var size = handlers.length
|
27
|
-
for (var i = 0; i < size; i++) {
|
28
|
-
var h = handlers[i]
|
29
|
-
if (h.handler === handler && h.context === context) {
|
30
|
-
handlers.splice(i, 1)
|
31
|
-
return
|
32
|
-
}
|
33
|
-
}
|
34
|
-
}
|
35
|
-
},
|
36
|
-
_createResizeTrigger: function (ele) {
|
37
|
-
var obj = document.createElement('object')
|
38
|
-
obj.setAttribute('style',
|
39
|
-
'display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden;opacity: 0; pointer-events: none; z-index: -1;')
|
40
|
-
obj.onload = EleResize._handleObjectLoad
|
41
|
-
obj.type = 'text/html'
|
42
|
-
ele.appendChild(obj)
|
43
|
-
obj.data = 'about:blank'
|
44
|
-
return obj
|
45
|
-
},
|
46
|
-
_handleObjectLoad: function () {
|
47
|
-
this.contentDocument.defaultView.__resizeTrigger__ = this.__resizeElement__
|
48
|
-
this.contentDocument.defaultView.addEventListener('resize', EleResize._handleResize)
|
49
|
-
}
|
50
|
-
}
|
51
|
-
if (document.attachEvent) { // ie9-10
|
52
|
-
EleResize.on = function (ele, handler, context) {
|
53
|
-
var handlers = ele.__z_resizeListeners
|
54
|
-
if (!handlers) {
|
55
|
-
handlers = []
|
56
|
-
ele.__z_resizeListeners = handlers
|
57
|
-
ele.__resizeTrigger__ = ele
|
58
|
-
ele.attachEvent('onresize', EleResize._handleResize)
|
59
|
-
}
|
60
|
-
handlers.push({
|
61
|
-
handler: handler,
|
62
|
-
context: context
|
63
|
-
})
|
64
|
-
}
|
65
|
-
EleResize.off = function (ele, handler, context) {
|
66
|
-
var handlers = ele.__z_resizeListeners
|
67
|
-
if (handlers) {
|
68
|
-
EleResize._removeHandler(ele, handler, context)
|
69
|
-
if (handlers.length === 0) {
|
70
|
-
ele.detachEvent('onresize', EleResize._handleResize)
|
71
|
-
delete ele.__z_resizeListeners
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
} else {
|
76
|
-
EleResize.on = function (ele, handler, context) {
|
77
|
-
var handlers = ele.__z_resizeListeners
|
78
|
-
if (!handlers) {
|
79
|
-
handlers = []
|
80
|
-
ele.__z_resizeListeners = handlers
|
81
|
-
|
82
|
-
if (getComputedStyle(ele, null).position === 'static') {
|
83
|
-
ele.style.position = 'relative'
|
84
|
-
}
|
85
|
-
var obj = EleResize._createResizeTrigger(ele)
|
86
|
-
ele.__resizeTrigger__ = obj
|
87
|
-
obj.__resizeElement__ = ele
|
88
|
-
}
|
89
|
-
handlers.push({
|
90
|
-
handler: handler,
|
91
|
-
context: context
|
92
|
-
})
|
93
|
-
}
|
94
|
-
EleResize.off = function (ele, handler, context) {
|
95
|
-
var handlers = ele.__z_resizeListeners
|
96
|
-
if (handlers) {
|
97
|
-
EleResize._removeHandler(ele, handler, context)
|
98
|
-
if (handlers.length === 0) {
|
99
|
-
var trigger = ele.__resizeTrigger__
|
100
|
-
if (trigger) {
|
101
|
-
trigger.contentDocument.defaultView.removeEventListener('resize', EleResize._handleResize)
|
102
|
-
ele.removeChild(trigger)
|
103
|
-
delete ele.__resizeTrigger__
|
104
|
-
}
|
105
|
-
delete ele.__z_resizeListeners
|
106
|
-
}
|
107
|
-
}
|
108
|
-
}
|
109
|
-
}
|
110
|
-
export {EleResize}
|
package/jsconfig.json
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "es5",
|
4
|
-
"module": "esnext",
|
5
|
-
"baseUrl": "./",
|
6
|
-
"moduleResolution": "node",
|
7
|
-
"paths": {
|
8
|
-
"@/*": [
|
9
|
-
"examples/*"
|
10
|
-
]
|
11
|
-
},
|
12
|
-
"lib": [
|
13
|
-
"esnext",
|
14
|
-
"dom",
|
15
|
-
"dom.iterable",
|
16
|
-
"scripthost"
|
17
|
-
]
|
18
|
-
}
|
19
|
-
}
|
package/vue-opnelayers/demo.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
<!doctype html><meta charset="utf-8"><title>vue-openlayers demo</title><script src="./vue-openlayers.umd.js"></script><link rel="stylesheet" href="./vue-openlayers.css"><script>console.log(vue-openlayers)</script>
|