GuillaumeLeclerc / vue-google-maps

Google maps component for vue with 2-way data binding
561 stars 654 forks source link

Not working with vue v2 #107

Closed obonyojimmy closed 8 years ago

obonyojimmy commented 8 years ago

Hi , the package does not seem to work with v2 of vue ?

EDIT

Finally got this to work using render() function ie as below :

render: function (createElement) {
        return createElement(
          'div',   // tag name
           [
            createElement('section', {
              props: {
                center:  {lat:1.3048035, lng:36.8473969}    
              },
              render: (h) => h(Map)
            }),

          ]
        )
},