Re: [OSM-talk] OpenPisteMap Down?

2009-07-03 Thread Steve Hill
On Thu, 2 Jul 2009, Tom Hughes wrote:

 You need to use OL 2.8 - either that or use an older copy of 
 OpenStreetMap.js.

 Basically mixing our hosted file with your own OL is a bad idea - either pull 
 both from us or host both yourself. That way you won't get a mismatch.

It was the other way around - I was mixing my own OpenStreetMap.js with 
the OSM hosted OpenLayers.  Originally they both came from the OSM 
servers, but I later modified the OpenStreetMap.js for some reason I 
forget.

Anyway, yes - it turned out to be a really stupid idea, and mainly down to 
my lazyness. :)  I've now fixed it so all the scripts come from the 
OpenPisteMap server instead, so this shouldn't happen again.


  - Steve
xmpp:st...@nexusuk.org   sip:st...@nexusuk.org   http://www.nexusuk.org/

  Servatis a periculum, servatis a maleficum - Whisper, Evanescence


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenPisteMap Down?

2009-07-02 Thread Lars Ahlzen
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
l...@ahlzen.com

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenPisteMap Down?

2009-07-02 Thread Steve Hill
On Thu, 2 Jul 2009, Hurricane McEwen wrote:

 I just went to visit openpistemap.org and I get a blank map. Anyone run 
 in to the same issue?

Errm.. yes, damn.  :(

I am using the OpenLayers code hosted on the OSM servers - looks like this 
has changed and it is now breaking.  I'll try and have a go at fixing it
tomorrow.

  - Steve
xmpp:st...@nexusuk.org   sip:st...@nexusuk.org   http://www.nexusuk.org/

  Servatis a periculum, servatis a maleficum - Whisper, Evanescence


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenPisteMap Down?

2009-07-02 Thread Steve Hill
On Thu, 2 Jul 2009, Lars Ahlzen wrote:

 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:

Nope, that didn't fix it. :(

Looks like I'll need to do a bit more debugging.

  - Steve
xmpp:st...@nexusuk.org   sip:st...@nexusuk.org   http://www.nexusuk.org/

  Servatis a periculum, servatis a maleficum - Whisper, Evanescence


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OpenPisteMap Down?

2009-07-02 Thread Tom Hughes
On 02/07/09 17:32, Steve Hill wrote:
 On Thu, 2 Jul 2009, Hurricane McEwen wrote:

 I just went to visit openpistemap.org and I get a blank map. Anyone run
 in to the same issue?

 Errm.. yes, damn.  :(

 I am using the OpenLayers code hosted on the OSM servers - looks like this
 has changed and it is now breaking.  I'll try and have a go at fixing it
 tomorrow.

You need to use OL 2.8 - either that or use an older copy of 
OpenStreetMap.js.

Basically mixing our hosted file with your own OL is a bad idea - either 
pull both from us or host both yourself. That way you won't get a mismatch.

Tom

-- 
Tom Hughes (t...@compton.nu)
http://www.compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk