You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example mentions "tile layers", and users might assume that this plugin works only with L.TileLayers.
Given that the plugin monkey-patches L.GridLayer, and that things like L.GridLayer.GoogleMutant interact with this plugin, I suggest adding a note to the readme, like
This plugin adds a new option to all instances of L.GridLayer and L.TileLayer:
The text was updated successfully, but these errors were encountered:
No, it's just how "extending the functionality of an existing javascript class prototype by replacing the implementation of one of its methods" is called in layman's terms 😄
The example mentions "tile layers", and users might assume that this plugin works only with
L.TileLayer
s.Given that the plugin monkey-patches
L.GridLayer
, and that things likeL.GridLayer.GoogleMutant
interact with this plugin, I suggest adding a note to the readme, likeThe text was updated successfully, but these errors were encountered: