Skip to content Skip to sidebar Skip to footer

Leaflet Flipping Tiles In Electron

Hey im new to electron but i want to use Leaflet inside it to some magic mapping stuff. I created an basic electron application with the index.js according to the basic example. I

Solution 1:

I ran into the same problem. I think the best solution is to

bower install leaflet

and than use this in the head of your .html file:

<linkrel="stylesheet"href="bower_components/leaflet/dist/leaflet.css" /><style>body { margin:0; padding:0;  }
  #map { position: absolute; top:0; bottom:0; right:0; left:0;  }
</style>

Post a Comment for "Leaflet Flipping Tiles In Electron"