Skip to content

Commit

Permalink
Fix TileLayer initalisation with options
Browse files Browse the repository at this point in the history
  • Loading branch information
KoRiGaN committed Oct 2, 2017
1 parent f68a520 commit 346c466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TileLayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const props = {
export default {
props: props,
mounted() {
const options = {};
const otherPropertytoInitialize = [ "attribution", "token", "opacity", "zIndex" ];
for (var i = 0; i < otherPropertytoInitialize.length; i++) {
const propName = otherPropertytoInitialize[i];
Expand Down

0 comments on commit 346c466

Please sign in to comment.