Reputation: 190
I'm using angular-leaflet-directive
to render leaflet maps on my web-app, also I'm getting tiles from Carto service. The problem is that when I add the tile layer, the tiles apeear as expected but the whole map fills with grey color. Any ideas what could cause such a behavior?
Upvotes: 1
Views: 1241
Reputation: 216
had same problem make sure you doesn't override leaflet style
In my case the following style caused the problem
img{
max-width:100%;
max-height:100%;
}
Upvotes: 1