Can you help me with own maps ?

flyjodel8 years ago

Hi,

I try to implement own map tiles in the background. They are base on openlayers (OSM or Google Maps) with own tiles on top.
The map is here :
http://flyos1.free.fr/TEST/Maps/carte_allemande_1914/openlayers.html

The format of one tile is :
http://flyos1.free.fr/TEST/Maps/carte_allemande_1914/13/4188/5388.png
which corresponds to
http://flyos1.free.fr/TEST/Maps/carte_allemande_1914/{z}/{x}/{y}.png

but when I put this last line into a custom map as admin, I get no display. It's a blank map. What is my error ?

Thank you !

Anton Tananaev8 years ago

Make sure that user has account has custom map type selected as well.

flyjodel8 years ago

Hi,

yes

  • i connect as an admin.
  • configuration > server > Map : 'own map' with the address provided in the first post
  • configuration > account > Map : 'own map' (without changing the account)
  • refresh the page

-> it remains white.

is something wrong ? I can configure my router to allow external access tonight if you want to see. For the time being I access to it via http://localhos:8082
It is installed on a VMware virtual machine running xubuntu 14.04 and Java 8

Many thanks
Michel

Anton Tananaev8 years ago

Most of the tiles are missing on your tile server. Look at the browser developer console and you'll see a lot of errors there.

flyjodel8 years ago

the server is now accessible here :
http://MYIP:8084

where you might find MYIP in the wonnexion log of the forum or I can send it to you via private message ?

flyjodel8 years ago

Yes, I know, I have a lot of tiles missing. This is because I want to use a very local own map ( the size of a big city ).
By looking around in the console window, I got to display something, but the behaviour is strange... It seems that the tiles are not at the right place. Any advice ? maybe the formula is false ?

1 2
Anton Tananaev8 years ago

Maybe your tile server uses different projection?

flyjodel8 years ago

in fact I think it is the coordinates system that is not compatible. In the original javascript, there is a place where one can enter a formula to convert the coordinates into x/y and ... I have to investigate further.