vue2-leaflet
Advanced tools
Comparing version
@@ -547,7 +547,7 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
setBounds: function setBounds(newVal, oldVal) { | ||
var options = {}; | ||
if (!(newVal && newVal.isValid())) { | ||
return; | ||
} | ||
var options = {}; | ||
if (this.padding) { | ||
@@ -563,6 +563,3 @@ options.padding = this.padding; | ||
} | ||
console.log(newVal); | ||
console.log(options); | ||
this.mapObject.fitBounds(newVal, options); | ||
console.log("C"); | ||
}, | ||
@@ -569,0 +566,0 @@ setPaddingBottomRight: function setPaddingBottomRight(newVal, oldVal) { |
import Vue from 'vue' | ||
import App from './App' | ||
/* eslint-disable no-new */ | ||
new Vue({ | ||
el: '#app', | ||
el: '#toto', | ||
template: '<App/>', | ||
components: { App } | ||
}) |
{ | ||
"name": "vue2-leaflet", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "Vue2 leaflet library", | ||
@@ -5,0 +5,0 @@ "author": "Mickael Bouchaud", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
160699
0.27%1892
-0.21%