Vue2leaflet: google maps tile layer

Created on 16 Nov 2017  路  4Comments  路  Source: vue-leaflet/Vue2Leaflet

hi, how can i use google maps on vue2-leaflet?
or is there plugin for this?

Most helpful comment

Just pinging you @vinayakkulkarni and @rhoseno98 to say that there is a plugin now for this that uses googlemutant, see the readme here.

All 4 comments

Hi @rhoseno98,

Google Maps Terms of user forbid any means of tile access other than through the Google Maps API. See Leaflet FAQ for more information about it.

The solution in Leaflet is to use a plugin called GoogleMutant.

I never tried it but I think it should work with Vue2Leaflet.

Hope this helps,

Micka

Closing as no answer for a month.

Can you please make an example @KoRiGaN ?

Just pinging you @vinayakkulkarni and @rhoseno98 to say that there is a plugin now for this that uses googlemutant, see the readme here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DmitriyVTitov picture DmitriyVTitov  路  4Comments

carlmjohnson picture carlmjohnson  路  4Comments

tiltec picture tiltec  路  4Comments

srtonz picture srtonz  路  4Comments

mits87 picture mits87  路  3Comments