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
I am trying to integrate leaflet-tilelayer-mbtiles-ts into my ionic project but im getting an error Property 'mbTiles' does not exist on type 'typeof tileLayer' with ionic cordova angular
I am trying to integrate leaflet-tilelayer-mbtiles-ts into my ionic project but im getting an error Property 'mbTiles' does not exist on type 'typeof tileLayer' with ionic cordova angular
cordova: 12.0.0
ionic: 7.1.1
"leaflet" : "^1.7.1",
"leaflet-tilelayer-mbtiles-ts": "^1.5.6",
"@types/leaflet": "^1.5.19",
page.ts
``
import * as L from 'leaflet';
import "leaflet-tilelayer-mbtiles-ts";
@component({
selector: 'app-test-page',
templateUrl: './test-page.page.html',
styleUrls: ['./test-page.page.scss'],
})
export class TestPagePage implements OnInit {
public map : L.Map;
private async initMap() {
this.map = new L.Map('map_canvas');
}
}
``
The text was updated successfully, but these errors were encountered: