Properly close quotes
This commit is contained in:
@@ -8,7 +8,7 @@ The `forward` and `inverse` functions passed to `addCooordinateTransforms` now r
|
|||||||
```js
|
```js
|
||||||
addCoordinateTransforms(
|
addCoordinateTransforms(
|
||||||
'EPSG:4326',
|
'EPSG:4326',
|
||||||
new Projection({code: 'latlong', units: 'degrees}),
|
new Projection({code: 'latlong', units: 'degrees'}),
|
||||||
function(coordinate) { return coordinate.reverse(); },
|
function(coordinate) { return coordinate.reverse(); },
|
||||||
function(coordinate) { return coordinate.reverse(); }
|
function(coordinate) { return coordinate.reverse(); }
|
||||||
);
|
);
|
||||||
@@ -17,7 +17,7 @@ you have to change that to
|
|||||||
```js
|
```js
|
||||||
addCoordinateTransforms(
|
addCoordinateTransforms(
|
||||||
'EPSG:4326',
|
'EPSG:4326',
|
||||||
new Projection({code: 'latlong', units: 'degrees}),
|
new Projection({code: 'latlong', units: 'degrees'}),
|
||||||
function(coordinate) { return coordinate.slice(0, 2).reverse() },
|
function(coordinate) { return coordinate.slice(0, 2).reverse() },
|
||||||
function(coordinate) { return coordinate.slice(0, 2).reverse() }
|
function(coordinate) { return coordinate.slice(0, 2).reverse() }
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user