forked from MapComplete/MapComplete
UX: fix #1938, pan to selected location
This commit is contained in:
parent
5759d4f8a7
commit
625f179a91
3 changed files with 36 additions and 6 deletions
|
@ -127,7 +127,9 @@ export abstract class OsmObject {
|
|||
return result
|
||||
}
|
||||
|
||||
// The centerpoint of the feature, as [lat, lon]
|
||||
/** The centerpoint of the feature, as [lat, lon]
|
||||
*
|
||||
*/
|
||||
public abstract centerpoint(): [number, number]
|
||||
|
||||
public abstract asGeoJson(): any
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue