forked from MapComplete/MapComplete
Chore: remove obsolete cast
This commit is contained in:
parent
f405116bb1
commit
48a340de78
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ export class GeoOperations {
|
|||
* @param feature
|
||||
*/
|
||||
static centerpoint(feature: Feature): Feature<Point> {
|
||||
const newFeature: Feature<Point> = turf.center(<turf.Feature>feature)
|
||||
const newFeature: Feature<Point> = turf.center(feature)
|
||||
newFeature.properties = feature.properties
|
||||
newFeature.id = feature.id
|
||||
return newFeature
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue