angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
315 stars 137 forks source link

Nor working in angular 1.6.4 #357

Closed janoskaz closed 5 years ago

janoskaz commented 6 years ago

The basic example does not work with angular 1.6.4. The tiles are out of order (see attachment).

The code is simple:

<div 
    id="ng-app" 
    ng-app="app" 
    ng-controller="appCtrl">
   <leaflet width="100%" height="480px"></leaflet>
</div>

ui-leaflet

elesdoar commented 5 years ago

Please add the css file from leaflet in your html file.

<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.1/dist/leaflet.css"  />
janoskaz commented 5 years ago

What a stupid mistake. Sorry for that.