1

So for the development of my app I've been using Esri's basemap. I wanted to switch to bing. This is my import as i saw in another question asked here.

import 'leaflet-bing-layer';

Then this is in my ngOnInit? The map loads fine but none of the other types besides the default Aerial will show up? Any ideas

L.tileLayer.bing('key', {
      type: 'Road'
    }
).addTo(this.map);
  • I was able to switch it to 'Road' by editing the index.js file in the node modules. Will update if I found a way to edit in my component.ts – Petey Nov 8 '18 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.