(points)
| 154 | return points; |
| 155 | } |
| 156 | _pointsToLatLngs(points) { |
| 157 | // points should be an array of nested container coordinates [[x1,y1],[x2,y2](,[xN,yN])] |
| 158 | var latLngArray = []; |
| 159 | if (this._map) { |
| 160 | for (var i = 0, map = this._map; i < points.length; i++) { |
| 161 | latLngArray.push(map.containerPointToLatLng(points[i])); |
| 162 | } |
| 163 | } |
| 164 | return latLngArray; |
| 165 | } |
| 166 | _styleToPathOptions(style) { |
| 167 | var options = {}; |
| 168 | if (style.stroke !== 'none') { |