mediasuitenz / mappy

A configurable map engine
MIT License
3 stars 2 forks source link

L.Google does not implement function addTo #102

Closed markstuart closed 8 years ago

markstuart commented 8 years ago

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.