Hurricane McEwen wrote:
> Hey,
> 
> I just went to visit openpistemap.org and I get a blank map. Anyone run 
> in to the same issue?

Yes. And they are probably having the same problem as I had recently 
with toposm.com.

It appears that the OpenLayers.Layer.OSM class now expects a full URL 
template for the tiles, rather than just the directory... i.e. something 
like:

OpenLayers.Layer.OSM.opm = OpenLayers.Class(OpenLayers.Layer.OSM, {
     initialize: function(name, options, args) {
         var url = [
             "http://openpistemap.org/tiles/contours/${z}/${x}/${y}.png";
         ];
         ...

instead of the current:

OpenLayers.Layer.OSM.opm = OpenLayers.Class(OpenLayers.Layer.OSM, {
     initialize: function(name, options, args) {
         var url = [
             "http://openpistemap.org/tiles/contours/";
         ];
        ...

- Lars

-- 
Lars Ahlzen
[email protected]

_______________________________________________
talk mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk

Reply via email to