Example for tile proxy plus Nominatim Proxy with lazy loading #6
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
codemacher/tile_proxy#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If someone has a better solution or optimizations, please leave a comment.
I'm not sure which problem you want to solve.
First: You can user the integrated nominatim proxy. Create a page from type "Nominatim Proxy Endpoint [602]" and use the url for this page.
for example: your page slug is nominatim-proxy then:
... fetch('/nominatim-proxy/?format=jsonv2&addressdetails=1&q=<f:format.raw>{company.street}, {company.zip} {company.city}</f:format.raw>') ...Why do you want to search the coordinates each time in frontend? Isn't it better to store the coordinates once in the backend at tt_address, for example?
(tt_address integrates a backend leaflet popup for selecting the location for example)
You can try this with tile_maps, which uses tile_proxy and tt_address.
It is only an example I what to share.
You are right, I changed the nominatim fetch