This repository was archived by the owner on Nov 30, 2018. It is now read-only.
This repository was archived by the owner on Nov 30, 2018. It is now read-only.
MultiPolygon will not render with lodash 4.x #1822
Open
Description
Trying to find the Polygon (within a MultiPolygon) with the most points fails with lodash 4.x.
error within chunking iterator: TypeError: Cannot read property 'max' of undefined
http://plnkr.co/edit/fugjhdeVZ10IRcgVj0td?p=preview
_.forEach
does not accept a 3rd parameter as it is implemented here:
angular-google-maps/src/coffee/directives/api/utils/gmap-util.coffee
Lines 152 to 156 in cbd17a3
I'm assuming lodash v4 is a hard dependency.
Update: Seems to happen with all 4.x version.s