             vid = 0
             for own id, marker of markers
                 # Settings altered for printing. These will be reset after printing.
-                printStore = {storeAttributes: ['iconSize', 'iconAnchor'] }
+                printStore =
+                    storeAttributes: ['iconSize', 'iconAnchor']
                 for att in printStore.storeAttributes
                     if marker.options.icon.options[att]
                         printStore[att] = marker.options.icon.options[att]

                # map.getBounds and map._originalGetBounds both give the bounds
                # of the active area. -> Need to get whole #map bounds manually.
                bounds = map.getPixelBounds()
                sw = map.unproject(bounds.getBottomLeft())
                ne = map.unproject(bounds.getTopRight())

                if mapBounds.contains marker.getLatLng()
                    marker.vid = ++vid

                        div.textContent = marker.unit.attributes.name[p13n.getLanguage()]
                        markerLegend.appendChild div
                    listOfUnits.appendChild(markerLegend)

            leafletImage map, (err, canvas) =>
                if err
                    throw err
