Comments (7)
It's strange. I can't reproduce the issue https://jsfiddle.net/3z78zzd1/3/
This error may affect events on vl-view
Can you show your code ?
from vuelayers.
Here is my code where I load the map. I load it in a component.
<template>
<info-box :hasFooter="true">
<template slot="header">
<h3><i class="el-icon-fa-map"></i> Map</h3>
</template>
<template slot="body">
<div class="map">
<vl-map :load-tiles-while-animating="true" :load-tiles-while-interacting="true">
<vl-view :center="[ 100.4833, 13.7500 ]" :zoom="5" :rotation="0" />
<vl-layer-tile>
<vl-source-osm />
</vl-layer-tile>
</vl-map>
</div>
</template>
<template slot="footer">
Test footer
</template>
</info-box>
</template>
<script>
import InfoBox from './Shared/InfoBox'
export default {
components: {
InfoBox
},
props: {
accountList: {
type: Array,
default: () => {
return []
}
}
}
}
</script>
from vuelayers.
I tried init a new Vue project using vue-cli and webpack template without test tools installed. Then I install Vuelayers by npm install -S vuelayers
.
Here is my main.js
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueLayers from 'vuelayers'
// import VueLayers styles, needs css-loader
import 'vuelayers/lib/style.css'
// register all vl-* components
Vue.use(VueLayers)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
template: '<App/>',
components: { App }
})
This is my App.vue
<template>
<div id="app">
<vl-map :load-tiles-while-animating="true" :load-tiles-while-interacting="true">
<vl-view :center="[ 100.4833, 13.7500 ]" :zoom="5" :rotation="0" />
<vl-layer-tile>
<vl-source-osm />
</vl-layer-tile>
</vl-map>
</div>
</template>
<script>
export default {
name: 'app'
}
</script>
The issue still persists.
Uncaught (in promise) TypeError: e.map(...).debounceTime is not a function
at VueComponent.R (index.umd.min.js?9289:11)
at VueComponent.subscribeAll (index.umd.min.js?9289:11)
at VueComponent.boundFn [as subscribeAll] (vue.esm.js?efeb:187)
at VueComponent.mount (index.umd.min.js?9289:11)
at boundFn (vue.esm.js?efeb:186)
at <anonymous>
from vuelayers.
Ok, I'll try to install same project soon
from vuelayers.
I already draft the new version 0.7.2. Try to upgrade and check if issue is still exists.
Thank you for your bug report!
from vuelayers.
I upgraded the library, and it all seem working now :)
from vuelayers.
Good! So I close this
from vuelayers.
Related Issues (20)
- Vuequery missing peer HOT 1
- Label Vector Fonts don't' have the right rendering [BUG] HOT 4
- Access feature in drawFinsihCondition? HOT 2
- When using vl-geom-line-string or vl-geom-multi-line-string the map tiles arent loaded correcty anymore. HOT 2
- Web browser freezes when trying to view the demo HOT 1
- Dependency conflict installing vuelayers with NPM HOT 2
- unmount maps HOT 2
- Demos not working in Webpack install HOT 6
- Add a scale bar?
- tilePrefix not added when working with GWC HOT 2
- style-box gone in v0.12 HOT 2
- TileJSON source HOT 2
- m
- Using filters for tile layers HOT 1
- Support for Openlayers 7 HOT 4
- error occurs when activating the tab which contains vuelayers HOT 1
- Change to tileSize in 0.12 HOT 4
- forEachFeatureAtPixel layerFilter not excute in right way HOT 3
- Validate draw
- vl-style-text problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuelayers.