Using 0.7.13. _validateCoords returns true if the coords.type = 'Point' and properties 'lat' and 'lng' exist and are numbers (see line 442). But in _getCoords this condition is not recognized and type 'Point' is assumed to have an array for the coordinates, resulting in an exception (lines 455-456).
Copied from original issue: tombatossals/angular-leaflet-directive#691
From @bwmcin on April 17, 2015 3:56
Using 0.7.13. _validateCoords returns true if the coords.type = 'Point' and properties 'lat' and 'lng' exist and are numbers (see line 442). But in _getCoords this condition is not recognized and type 'Point' is assumed to have an array for the coordinates, resulting in an exception (lines 455-456).
Copied from original issue: tombatossals/angular-leaflet-directive#691