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
According to the documentation, the methods getleafletLayer() , returns a leaflet layer that groups all the layers that have been added to this client, it returns a L.TileLayer layer that groups all the layers.
However, if you want to add or change the options of the layer, it is not possible using the methods of Leaflet and CARTO getLeafletLayer() method does not accepts input arguments to change the options of the Layer generated.
It would be nice to have this option in CARTO.js.
For example, at this moment we can add the option noWrap to the L.tileLayer of the basemap but not for CARTO layer. Therefore the result is the next one:
The text was updated successfully, but these errors were encountered:
Context
According to the documentation, the methods getleafletLayer() , returns a leaflet layer that groups all the layers that have been added to this client, it returns a L.TileLayer layer that groups all the layers.
However, if you want to add or change the options of the layer, it is not possible using the methods of Leaflet and CARTO getLeafletLayer() method does not accepts input arguments to change the options of the Layer generated.
It would be nice to have this option in CARTO.js.
For example, at this moment we can add the option noWrap to the L.tileLayer of the basemap but not for CARTO layer. Therefore the result is the next one:
The text was updated successfully, but these errors were encountered: