The google plugin provided by leaflet-plugins creates a L.Class extension called L.Google. It seems like it should provide the same interface as L.TileLayer... but no.
Tested this change locally using npm link with configuration for Mapbox and Google tilelayers, this change works for both.
The google plugin provided by
leaflet-plugins
creates a L.Class extension called L.Google. It seems like it should provide the same interface as L.TileLayer... but no.Tested this change locally using
npm link
with configuration for Mapbox and Google tilelayers, this change works for both.