fix markers for location groups

This commit is contained in:
Laura Klünder 2017-10-30 11:10:50 +01:00
parent c245769ad8
commit eda4977efc

View file

@ -416,7 +416,7 @@ c3nav = {
if (location.locations !== undefined) { if (location.locations !== undefined) {
var bounds = {}; var bounds = {};
for (var i=0; i<location.locations.length; i++) { for (var i=0; i<location.locations.length; i++) {
c3nav._merge_bounds(bounds, c3nav._add_location_to_map(c3nav.locations_by_id[location.locations[i]])); c3nav._merge_bounds(bounds, c3nav._add_location_to_map(c3nav.locations_by_id[location.locations[i]], icon));
} }
return bounds; return bounds;
} }