You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a little bit complicated to zoom to a feature by only passing the search text with the ht parameter, if the search term results in more than one entry. The map will zoom to the first entry of the result list and not to the one with the exact search phrase.
It is a little bit complicated to zoom to a feature by only passing the search text with the
ht
parameter, if the search term results in more than one entry. The map will zoom to the first entry of the result list and not to the one with the exact search phrase.Examples with our system:
https://kartenportal.jena.de/?hp=kartenportal_qwc_adressen_v&ht=Markt%207
Searching for "Markt 7" will result in this list in our case:
As "Holzmarkt 7" ist the first entry, the map will zoom to the related feature and not to the one for "Markt 7"
The workaround is, to pass the phrase additional in the
hf
parameter, like:https://kartenportal.jena.de/?hp=kartenportal_qwc_adressen_v&hf=[["display"%2C"%3D"%2C"Markt%207%20(Adresse)"]]&ht=Markt%207%20
While this is a little bit bulky, wouldn't it be a better way, to zoom to the element with the exact phrase if there is one?
The text was updated successfully, but these errors were encountered: