Forum Discussion

tmoeltner's avatar
tmoeltner
Frequent Visitor
8 years ago
Solved

Leaflet integration is not working (map is not shown)

Hi,    I have created a PBI custom visual with leaflet and geojson libraries. I used following npm and typings commands to install the frameworks   npm install leaflet npm install geojson typin...
  • tmoeltner's avatar
    8 years ago
    Setting 
    var L = typeof L !== 'undefined' ? L : window['L'];
     
    in the construtor of solves the problem
  • v-chuncz-msft's avatar
    v-chuncz-msft
    8 years ago

    tmoeltner,

     

    Glad to hear that. You may help accept the solution above. Your contribution is highly appreciated.