Skip to content

Commit ad1a836

Browse files
snowbox: edit reverseGecoder config to use routing plugin
1 parent 7c9cc72 commit ad1a836

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

examples/snowbox/index.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -360,19 +360,19 @@ addPlugin(
360360
addPlugin(
361361
map,
362362
pluginReverseGeocoder({
363-
// type: 'wps',
364-
// url: 'https://geodienste.hamburg.de/HH_WPS',
365-
type: 'nominatim',
366-
url: 'https://polar.dataport.de/nominatim/reverse',
363+
type: 'wps',
364+
url: 'https://geodienste.hamburg.de/HH_WPS',
365+
// type: 'nominatim',
366+
// url: 'https://polar.dataport.de/nominatim/reverse',
367367
coordinateSources: [
368368
{
369-
plugin: 'pins',
370-
key: 'coordinate',
369+
plugin: 'routing',
370+
key: 'reverseGeocodeCoordinate',
371371
},
372372
],
373373
addressTarget: {
374-
plugin: 'addressSearch',
375-
key: 'selectResult',
374+
plugin: 'routing',
375+
key: 'selectRouteResult',
376376
},
377377
zoomTo: 7,
378378
})

0 commit comments

Comments
 (0)