Closed leplatrem closed 13 years ago
Currently, tiles URL is relative to current map URL : https://github.com/leplatrem/django-mbtiles/blob/master/mbtilesmap/templates/mbtilesmap/map.html#L12
And the default tile URL pattern is defined as <map>/<z>/<x>/<y>/ https://github.com/leplatrem/django-mbtiles/blob/master/mbtilesmap/urls.py#L8
<map>/<z>/<x>/<y>/
It means that the map has to be served on <map>/.
<map>/
If not, the tile URL has to be explicitely redefined and the javascript line modified :/
Currently, tiles URL is relative to current map URL : https://github.com/leplatrem/django-mbtiles/blob/master/mbtilesmap/templates/mbtilesmap/map.html#L12
And the default tile URL pattern is defined as
<map>/<z>/<x>/<y>/
https://github.com/leplatrem/django-mbtiles/blob/master/mbtilesmap/urls.py#L8It means that the map has to be served on
<map>/
.If not, the tile URL has to be explicitely redefined and the javascript line modified :/