angularjs - LeafletJS not loading all tiles until moving map -


i trying load simple leaflet map in ionic 2 app. unfortunately not tiles loaded currectly until moving map.

this.map = new l.map('mainmap', {       zoomcontrol: false,       center: new l.latlng(40.731253, -73.996139),       zoom: 12,       minzoom: 4,       maxzoom: 19,       layers: [this.mapservice.basemaps.openstreetmap],       attributioncontrol: false     }); 

enter image description here


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -