0

Good afternoon, please help reconfigure local.php nominatim to the local tile server

At the moment I have 2 fully working servers installed:
1. nominatim server 'http://localhost:7070' example URL:
http://localhost:7070/search.php?q=Moscow&polygon_geojson=1&viewbox=

2. OpenMapTiles server 'http://localhost:8080' Example png URL
http://localhost:8080/styles/klokantech-basic/10/598/297.png

I tried editing the local.php file adding it to it:
@define ('CONST_Map_Tile_URL', 'http://localhost:8080/styles/klokantech-basic/{z}/{x}/{y}.png')
But my nominatim site still uses tiles from https://openstreetmap.org.png

asked 12 May, 12:31

nimistren's gravatar image

nimistren
113
accept rate: 0%

edited 12 May, 12:38


One Answer:
0

It looks alright. If you look at the HTML of http://localhost:7070/search.php?q=Moscow&polygon_geojson=1 do you see a section var nominatim_map_init that lists the tile URL?

permanent link

answered 12 May, 17:26

mtmail's gravatar image

mtmail
3.8k1059
accept rate: 30%

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×591
×175
×3



question asked: 12 May, 12:31

question was seen: 139 times

last updated: 12 May, 17:26

powered by OSQA