CloudMade/Leaflet — Issue #337: Error when passing d attribute
Author: codecowboy
Created: 2011-10-18 07:55:05+00:00
State: open

I am getting the following error when trying to add a multi polyline to a map:

Unexpected value MNaN NaNL282.3239414427503 237.70036862732331 parsing d attribute.
Unexpected value MNaN NaNL282.3239414427503 237.70036862732331 parsing d attribute.

The lines I am adding are defined as follows (firebug console output)

[[LatLng(-22.817, -40.342) { lat=-22.817, lng=-40.341999999999985}, LatLng(34, -118) { lat=34, lng=-118}], [LatLng(34, -118) { lat=34, lng=-118}, LatLng(40, -74) { lat=40, lng=-74}], LatLng(40, -74) { lat=40, lng=-74}, LatLng(17.50972, -30.0066) { lat=17.509715381546908, lng=-30.006603673066166}]

Is this a bug or are my lines not formatted correctly?