UX: fix #1938, pan to selected location

This commit is contained in:
Pieter Vander Vennet 2024-04-30 17:20:08 +02:00
parent 5759d4f8a7
commit 625f179a91
3 changed files with 36 additions and 6 deletions

View file

@ -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