mapgears ol3-google-maps - TypeError: this.setMap is not a function

504 Views Asked by At

I am trying to use mapgears/ol3-google-maps, but even the basic examples are not running. I am getting following error message.

TypeError: this.setMap is not a function

1

There are 1 best solutions below

0
On BEST ANSWER

Including Google Maps API before OL3-Google-Maps fixes the issue.