sarahsporck / Migration-Test-Repository

This repository is used to test the ticket migration from jira to github
0 stars 1 forks source link

IGAPP-806: Add a get coordinates method to LocationModel #3472

Closed jira-to-github-migrator-test[bot] closed 1 year ago

jira-to-github-migrator-test[bot] commented 1 year ago

Andreas Fischer - 25.10.2021, 12:54:31

As a developer i want to get the position directly from LocationModel

  get coordinates(): Position | null {
    if (this.longitude == null || this.latitude == null) {
      return null
    }
    return <Number(this.longitude), Number(this.latitude)>
  }

Environment: - Linked issues: