(coordinates)
| 111913 | } |
| 111914 | |
| 111915 | function transformPoint(coordinates) { |
| 111916 | coordinates[0] = (coordinates[0] - x1) * s; |
| 111917 | coordinates[1] = (coordinates[1] - y1) * s; |
| 111918 | } |
| 111919 | |
| 111920 | return function (geometry) { |
| 111921 | geometry.coordinates.forEach(transformPolygon); |