angular-google-maps icon indicating copy to clipboard operation
angular-google-maps copied to clipboard

ui-gmap-markers fit="true" consider hidden markers as well

Open dimuthun opened this issue 9 years ago • 0 comments

Version

2.4

Test Case

I have added couple of makers where some of them are visible and others are invisible.

Makers made invisible by setting the property visible = false in options. Example below. var marker = { Id: obj.branchId, latitude: obj.latitude, longitude: obj.longitude, icon: obj.icon, options: { visible: false } };

Steps to reproduce

In html directive make ui-gmap-markers fit="true" and set makers in the map.

Expected Behavior

Map zoom should bound to visible makers only

Actual Behavior

Map zoom bounds to both visible and invisible markers.

dimuthun avatar Oct 07 '16 11:10 dimuthun