Skip to content

Commit

Permalink
edit variable mapConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi-of-the-sea committed Feb 17, 2025
1 parent 933239c commit bd699c5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/clients/dish/src/utils/navigateToDenkmal.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { MapInstance } from '@polar/core'
import { denkmaelerWfServiceExtern } from '../services'
import { getMapConfiguration } from '../mapConfigurations/mapConfig'
import { DishMapConfig, DishParameters } from '../types'
import { DishParameters } from '../types'
import { zoomToFeatureById } from './zoomToFeatureById'

const mapConfiguration = getMapConfiguration('EXTERN') as DishMapConfig

export function navigateToDenkmal(instance: MapInstance, objektId: string) {
const mapConfiguration = getMapConfiguration('EXTERN')
const wfsConfig = mapConfiguration.addressSearch.searchMethods.find(
({ type }) => type === 'dish'
)
Expand Down

0 comments on commit bd699c5

Please sign in to comment.