I'm trying to import map tiles into polymaps using the following directory path:
http://pelagios.dme.ait.ac.at/tilesets/imperium/{z}/{x}/{y}/.png
but I'm getting a 404 error. Here's my code:
var po = org.polymaps;
var map = po.map().container(document.body.appendChild(po.svg("svg")));
map.add(po.image()
.url(po.url
("http://pelagios.dme.ait.ac.at/tilesets/imperium/{z}/{x}/{y}/.png")));
The png files definitely exist, as they're visible at http://pelagios.dme.ait.ac.at/tilesets/imperium/. What's more, I've seen this same syntax used in various polymaps examples.
Any advice as to how to import these tiles?