Re: [OpenLayers-Users] Alternative to http://t1.hypercube.telascience.org?

2009-06-06 Thread Matt Kenny
If you are interested in Spherical Mercator projected OSM data, you just grab it directly as a TMS, negating the need to host your own world file. http://openlayers.com/dev/examples/spherical-mercator.html On Sat, Jun 6, 2009 at 4:58 AM, Eamorr wrote: > > I've been using http://t1.hypercube.tel

Re: [OpenLayers-Users] How to calculate lat, lon, zoom dynamically from a (.gpx) track?

2009-06-06 Thread Jan Martin
OK, I am answering this one myself: In http://wiki.openstreetmap.org/wiki/Openlayers_Track_example right after map.addLayer(lgpx); one needs to add: lgpx.events.register("loadend", lgpx, function() { this.map.zoomToExtent(this.getDataExtent()) } ); That's all folks. Jan On Sat, Jun 6, 2009 at

[OpenLayers-Users] How to calculate lat, lon, zoom dynamically from a (.gpx) track?

2009-06-06 Thread Jan Martin
Hi all, I am getting more and more frustrated. After checking out all the examples at http://openlayers.org/dev/examples/ I noticed that in all examples the variables "lat", "lon" and "zoom" are hard-coded. However I'd like to load a .gpx file like here: http://wiki.openstreetmap.org/wiki/Openla

[OpenLayers-Users] Alternative to http://t1.hypercube.telascience.org?

2009-06-06 Thread Eamorr
I've been using http://t1.hypercube.telascience.org as my OpenLayers.Layer.WMS. I've got this line in my code: var layer=new OpenLayers.Layer.WMS("OSM",["http://t1.hypercube.telascience.org/tiles?","http://t2.hypercube.telascience.org/tiles?","http://t3.hypercube.telascience.org/tiles?","http://

[OpenLayers-Users] Large denominator scales are inaccurate

2009-06-06 Thread Balázs Bámer
Hi All, This might be a developer post, but I write here, as may be useful for someone. When displaying large scale maps, over 1:100 the scale is displayed as 1:1M 1:2M even if it is actually 1:150 which is quite inaccurate. I propose to change appropriate part of OpenLayers/Control/Scale.