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

Overlay visibility attribute always false #28

Open nmccready opened 8 years ago

nmccready commented 8 years ago

From @bubblepixel on July 1, 2014 11:37

I have two overlays which are both groups. I set both to have no visibility initially:

overlays: { jobs: { name: 'Allocated Jobs', type: 'group', visible: false }, completed: { name: 'Completed Jobs', type: 'group', visible: false },

I can select either of them in the Layer Controller and they display correctly, however even if the overlay is visible on screen; $scope.layers.overlays.jobs.visible is always false.

Copied from original issue: tombatossals/angular-leaflet-directive#408

nmccready commented 8 years ago

From @antoinegiret on May 11, 2015 9:26

This issue seem to be doesn't solved...