Skip to content

Commit

Permalink
Release v0.11.6
Browse files Browse the repository at this point in the history
Fix typo in computed property `vmId` usage.
  • Loading branch information
ghettovoice committed Oct 3, 2019
1 parent d2abce1 commit cdd9e51
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vuelayers",
"fullname": "VueLayers",
"version": "0.11.5",
"version": "0.11.6",
"description": "Web map Vue components with the power of OpenLayers",
"author": "Vladimir Vershinin <[email protected]>",
"main": "./lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/mixin/geometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export default {
},
stubVNode: {
empty () {
return this.vmId()
return this.vmId
},
},
created () {
Expand Down
8 changes: 8 additions & 0 deletions test/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
:zoom.sync="zoom" :extent="[0, 0, 100, 50]"
ident="view" ref="view" />

<vl-geoloc>
<template slot-scope="geoloc">
<vl-feature v-if="geoloc.position" id="position-feature">
<vl-geom-point :coordinates="geoloc.position" />
</vl-feature>
</template>
</vl-geoloc>

<vl-layer-tile>
<vl-source-sputnik />
</vl-layer-tile>
Expand Down

0 comments on commit cdd9e51

Please sign in to comment.