on-internet
← Community

Leaflet Map, not rendering tiles properly

Stack Overflow ·

I'm using leafletjs for the map feature of my app. Installed, wrote some simple codes, lo and behold a map. Although the tiles aren't rendering properly even I drag to another place, it's still have patches of tiles missing. Here's my code HTML <div #map style="width:100%; height:100%;" leaflet (leafletMapReady)="onMapReady($event)" [leafletOptions]="options"> </div> TS import { Component, OnInit } from '@angular/core'; import { latLng, MapOptions, tileLayer } from 'leaflet'; @Component({ selector: 'app-map', templateUrl: './map.component.html', styleUrls: ['./map.component.scss'] }) export cl

Comments

Sign in or sign up to comment and upvote.

No comments yet.