ry-vue-map 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +11 -0
- package/README.MD +439 -0
- package/babel.config.js +3 -0
- package/jsconfig.json +10 -0
- package/lib/demo.html +10 -0
- package/lib/ryui.common.js +58381 -0
- package/lib/ryui.common.js.gz +0 -0
- package/lib/ryui.css +1 -0
- package/lib/ryui.umd.js +58391 -0
- package/lib/ryui.umd.js.gz +0 -0
- package/lib/ryui.umd.min.js +2 -0
- package/lib/ryui.umd.min.js.gz +0 -0
- package/package.json +73 -0
- package/prettier.config.js +20 -0
- package/src/App.vue +5 -0
- package/src/assets/fonts/index.scss +2 -0
- package/src/assets/fonts/ry-bg/iconfont.css +40 -0
- package/src/assets/fonts/ry-bg/iconfont.ttf +0 -0
- package/src/assets/fonts/ry-bg/iconfont.woff +0 -0
- package/src/assets/fonts/ry-bg/iconfont.woff2 +0 -0
- package/src/assets/fonts/ry.css +347 -0
- package/src/assets/ic-403.svg +480 -0
- package/src/assets/ic-404.svg +299 -0
- package/src/assets/ic-500.svg +191 -0
- package/src/assets/logo.svg +24 -0
- package/src/assets/upload.svg +12 -0
- package/src/components/index.js +27 -0
- package/src/components/maps/models/base/base.js +14 -0
- package/src/components/maps/models/multiPolygonGeoJsonModel.js +11 -0
- package/src/components/maps/models/ryMap/map.js +120 -0
- package/src/components/maps/models/ryMap/view.js +62 -0
- package/src/components/maps/models/ryMapTool/mapTool.js +105 -0
- package/src/components/maps/models/ryPolygon/ryPolygon.js +40 -0
- package/src/components/maps/models/ryPolygons/ryPolygons.js +122 -0
- package/src/components/maps/models/switchMap/switchMap.js +54 -0
- package/src/components/maps/ryClusters/index.js +7 -0
- package/src/components/maps/ryClusters/src/index.vue +238 -0
- package/src/components/maps/ryCrossHair/index.js +7 -0
- package/src/components/maps/ryCrossHair/src/index.vue +44 -0
- package/src/components/maps/ryMap/index.js +6 -0
- package/src/components/maps/ryMap/src/index.vue +306 -0
- package/src/components/maps/ryMapTool/index.js +7 -0
- package/src/components/maps/ryMapTool/src/index.vue +330 -0
- package/src/components/maps/ryOverlay/index.vue +22 -0
- package/src/components/maps/ryPolygon/index.js +7 -0
- package/src/components/maps/ryPolygon/src/index.vue +246 -0
- package/src/components/maps/ryPolygons/index.js +7 -0
- package/src/components/maps/ryPolygons/src/index.vue +524 -0
- package/src/components/maps/switchMap/index.js +7 -0
- package/src/components/maps/switchMap/src/index.vue +224 -0
- package/src/components/maps/switchMap/src/newIndex.vue +256 -0
- package/src/config/setting.js +40 -0
- package/src/directives/index.js +4 -0
- package/src/directives/map.js +41 -0
- package/src/layout/components/footer.vue +35 -0
- package/src/layout/components/header-right.vue +135 -0
- package/src/layout/components/notice.vue +418 -0
- package/src/layout/components/password.vue +133 -0
- package/src/layout/index.vue +252 -0
- package/src/main.js +35 -0
- package/src/router/index.js +92 -0
- package/src/store/getters.js +7 -0
- package/src/store/index.js +21 -0
- package/src/store/modules/theme.js +544 -0
- package/src/store/modules/user.js +74 -0
- package/src/styles/index.scss +9 -0
- package/src/utils/index.js +4 -0
- package/src/utils/lMapServices.js +873 -0
- package/src/utils/page-tab-util.js +106 -0
- package/src/utils/permission.js +118 -0
- package/src/utils/request.js +68 -0
- package/src/utils/token-util.js +40 -0
- package/src/views/exception/403.vue +31 -0
- package/src/views/exception/404.vue +31 -0
- package/src/views/exception/500.vue +31 -0
- package/src/views/map/index.vue +340 -0
- package/vue.config.js +28 -0
|
Binary file
|
package/lib/ryui.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid #b3c5db;background-color:hsla(0,0%,100%,.4)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:rgba(0,60,136,.3);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid #eee;border-top:none;color:#eee;font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-singlebar-even{background-color:#000}.ol-scale-singlebar-odd{background-color:#fff}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-step-marker{width:1px;height:15px;background-color:#000;float:right;z-index:10}.ol-scale-step-text{bottom:-5px;font-size:12px;z-index:11}.ol-scale-step-text,.ol-scale-text{position:absolute;color:#000;text-shadow:-2px 0 #fff,0 2px #fff,2px 0 #fff,0 -2px #fff}.ol-scale-text{font-size:14px;text-align:center;bottom:25px}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid #000}.ol-unsupported{display:none}.ol-unselectable,.ol-viewport{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:grab}.ol-control{position:absolute;background-color:hsla(0,0%,100%,.4);border-radius:4px;padding:2px}.ol-control:hover{background-color:hsla(0,0%,100%,.6)}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:#fff;font-weight:700;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:rgba(0,60,136,.5);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:400;font-size:1.2em;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:focus,.ol-control button:hover{text-decoration:none;background-color:rgba(0,60,136,.7)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:rgba(0,60,136,.7);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:#000;text-shadow:0 0 2px #fff;font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid #7b98bc;height:150px;margin:2px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:2px;left:2px;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:hsla(0,0%,100%,.8)}.ol-overviewmap-box{border:2px dotted rgba(0,60,136,.7)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}.draw-tool-box[data-v-00ba6f29]{position:relative;display:flex}.map-button-box button[data-v-00ba6f29],.map-control button[data-v-00ba6f29]{background-color:#fff;border:0;font-size:18px;width:30px;height:30px;margin-left:10px;cursor:pointer}.el-button--primary[data-v-00ba6f29]{background-color:#0083f1!important;border-color:#0083f1!important}.ele-text-primary[data-v-00ba6f29]{padding:0}.switch-map ul[data-v-1ebd1f67]{list-style:none}.switch-map .top[data-v-1ebd1f67]{width:100%;display:flex;align-items:center;border-radius:8px;margin-top:10px;background-color:#fff}.switch-map .top p[data-v-1ebd1f67]{font-size:18px;cursor:pointer;margin-left:8px}.switch-map .top ul[data-v-1ebd1f67]{height:100%;display:flex;align-items:center;justify-content:space-between}.switch-map .top ul li[data-v-1ebd1f67]{width:98px;text-align:center;cursor:pointer}.switch-map .top ul li span[data-v-1ebd1f67]{width:100%;height:100%}.switch-map .top ul li i[data-v-1ebd1f67]{margin-right:6px}.switch-map .bottom[data-v-1ebd1f67]{width:100px;border-radius:8px;padding:0 10px;margin-top:20px;box-sizing:border-box;background-color:#fff}.switch-map .bottom li[data-v-1ebd1f67]{cursor:pointer;text-align:center;border-bottom:1px solid #efefef}.switch-map .bottom li[data-v-1ebd1f67]:last-child{border-bottom:0}.switch-map .marginLeft[data-v-1ebd1f67]{margin-left:32px}.switch-map .color[data-v-1ebd1f67]{color:#1890ff}.map-box[data-v-6eab1164]{height:100%;position:relative}.map-box>.map-style[data-v-6eab1164]{height:100%;position:relative;width:100%}.ry-map-tool[data-v-6eab1164]{position:absolute;top:20px}.left[data-v-6eab1164]{left:30px}.right[data-v-6eab1164]{right:30px}.move-box[data-v-6eab1164]{position:absolute}
|