Re: [OpenLayers-Users] Problem displaying a vector layer of OSM data containing mixed nodes/ways

2010-08-20 Thread Nick Whitelegg
>Hi, >I'm trying to load in some data in OSM format into a Vector layer. The OSM >data (not actual >OpenStreetMap data, but data from my own project for which >I'm using OSM format) contains a >mixture of nodes and ways, e.g.: [snip] Sorry for reply to own post, but, I think I've found the a

[OpenLayers-Users] Problem displaying a vector layer of OSM data containing mixed nodes/ways

2010-08-20 Thread Nick Whitelegg
Hi, I'm trying to load in some data in OSM format into a Vector layer. The OSM data (not actual OpenStreetMap data, but data from my own project for which I'm using OSM format) contains a mixture of nodes and ways, e.g.: http://www.free-map.org.uk/otv/route.php?action=get&bbox=-2,50,-1,51&forma

Re: [OpenLayers-Users] Problems subclassing OpenLayers.Format.GeoRSS

2010-08-14 Thread Nick Whitelegg
> >>Any ideas what I'm doing wrong here? As far as I can ascertain I am using the >>correct current way to subclass. > You appear to have ignored the return value of createFeatureFromItem: Damn, how did I miss that... Thanks, Nick ___ Users

[OpenLayers-Users] Problems subclassing OpenLayers.Format.GeoRSS

2010-08-14 Thread Nick Whitelegg
Hello, I'm trying to subclass OpenLayers.Format.GeoRSS; this is because I want to extract additional information from a GeoRSS feed that is not parsed with OpenLayers.Format.GeoRSS, such as geo:dir. I've started a test subclass, doesn't do anything yet, for testing purposes only: OpenLayers.F

[OpenLayers-Users] Loading rotation from a GeoRSS file

2010-03-22 Thread Nick Whitelegg
Hi, I'd like to specify the direction (i.e bearing) of a series of photographic anoramas with locations (lat/lon) defined in a GeoRSS feed. I'm planning on using the geo:dir tag for this. Is there any way I can automatically get the value from geo:dir in OL, or do I need to subclass OpenLayers

[OpenLayers-Users] Copying the style in a StyleMap into each feature?

2010-03-20 Thread Nick Whitelegg
I'm developing an application which shows a GeoRSS vector layer overlay over an OSM map (see http://www.free-map.org.uk/fe/). I want people to be able to rotate each camera icon which corresponds to a feature from the GeoRSS. I do this by adding a DragFeature control and overriding the moveFeat

[OpenLayers-Users] OSMWidget - OpenLayers based map widget for clickable and editable POIs

2008-03-26 Thread Nick Whitelegg
Hello everyone, As part of the "osmwiki" demo app (see talk list on OSM) I have developed an OSMWidget JavaScript class which can be installed on any OSM-based site with a planet-based PostGIS database plus a few PHP scripts (see below) to add a slippy map with annotatable POIs and search func

[OpenLayers-Users] Mercator coordinates mismatch (informationfreeway.org and Freemap)

2008-01-05 Thread Nick Whitelegg
Hello everyone, Freemap has been Mercator for a while now, but has used its own zoom levels rather than the standard Google zoom levels. By using code from informationfreeway.org, I have now converted Freemap to use the Google zoom levels and tiling scheme, but I'm now getting a mismatch in th

[OpenLayers-Users] Scrollbars in popup windows

2007-12-19 Thread Nick Whitelegg
Hello everyone, I'm trying to add scrollbars to photo popups on Freemap, http://www.free-map.org.uk/. They work if I set to overflow property of the contentDiv's style to 'auto', however the scrollbar is on the extreme right of the popup and rather hard to see. I tried doing stuff like setting

Re: [OpenLayers-Users] Selecting a feature - does not always work

2007-11-25 Thread Nick Whitelegg
On Friday 23 Nov 2007 09:08, you wrote: > Looking at your problem, I just remembered having a similar problem. > In my example, the returned feature argument did never change. It was > always the first clicked one. > > Hum, you are using OpenLayers 2.4 ! > This was fixed in the 2.5 version. Take a

Re: [OpenLayers-Users] Freemap and Osmajax developments

2007-11-25 Thread Nick Whitelegg
On Sunday 25 Nov 2007 18:18, Nick Whitelegg wrote: > On Sunday 25 Nov 2007 14:11, you wrote: > > You didn't respond to the previous message asking you to try upgrading > > to 2.5. Did you try it? > > Sorry - I must have missed it - have had rather a lot of email lately

Re: [OpenLayers-Users] Freemap and Osmajax developments

2007-11-25 Thread Nick Whitelegg
On Sunday 25 Nov 2007 14:11, you wrote: > You didn't respond to the previous message asking you to try upgrading > to 2.5. Did you try it? Sorry - I must have missed it - have had rather a lot of email lately so it must have got lost :-) Will check back. Nick

[OpenLayers-Users] Freemap and Osmajax developments

2007-11-25 Thread Nick Whitelegg
Hello everyone, One or two new developments on Freemap (free-map.org.uk) and Osmajax. I've implemented a feature where Freemap users can upload a GPX trace (this also gets uploaded to OSM) and then the Osmajax editor will load up, showing them their trace, plus waypoints, ready to draw upon.

[OpenLayers-Users] Selecting a feature - does not always work

2007-11-21 Thread Nick Whitelegg
Hello everyone, Another problem relating to the 'osmajax' editor (http://www.free-map.org.uk/freemap/javascript/osmajax-0.5/index.php - see my last post). Selecting a feature does not always work - the feature always goes blue but sometimes the status message at the top does not read "you se

[OpenLayers-Users] Vector layer - getting error "this.renderer has no properties"

2007-11-21 Thread Nick Whitelegg
Hello everyone, I'm coming across a problem I can't figure out in "osmajax", the OpenLayers Vector-based OSM editor I'm developing, at http://www.free-map.org.uk/freemap/javascript/osmajax-0.5/index.php The problem relates to the search facility, which moves to another location. If you select

Re: [OpenLayers-Users] [OSM-talk] Osmajax - OpenLayers/AJAX based online OSM editor

2007-11-15 Thread Nick Whitelegg
>> and can also be reached from Freemap (www.free-map.org.uk/) via the "Edit" >> option, though note that this is slower (for some reason SVG on Firefox seems >> to slow if there's a big CSS file). >you're not kidding, i had a few problems with that, i couldn't do much >in the way of editing bec

[OpenLayers-Users] Osmajax - OpenLayers/AJAX based online OSM editor

2007-11-14 Thread Nick Whitelegg
Hello everyone, The world probably doesn't really need another OSM editor but sometime ago I started developing an OpenLayers/AJAX based editor. Development stalled - partly because other things became more pressing and partly because segments were giving me a complete headache - but recently

Re: [OpenLayers-Users] Units in the Mapnik .xml file?

2007-11-01 Thread Nick Whitelegg
>Units in mapnik xml file Sorry! I meant to send this to the Mapnik mailing list, not openlayers! Nick ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] Units in the Mapnik .xml file?

2007-11-01 Thread Nick Whitelegg
Hello everyone, Can anyone clarify what units the parameters in mapnik xml files are? How can I work them out from OSM-style Mercator units, or lat/lon for that matter? Would like to (finally!) implement different zoom levels on Freemap and that will be fairly crucial. Thanks, Nick __

[OpenLayers-Users] Problem with addMarker(): OpenLayers 2.4

2007-10-28 Thread Nick Whitelegg
Hello everyone, Getting a mysterious problem with addMarker() which I am unable to resolve. It's on my site, Freemap (www.free-map.org.uk). If you select "Walk route" mode, you can draw a walk (hiking) route on top of the map - this uses the OpenLayers Vector drawing facilities. Then, when you

[OpenLayers-Users] Internet Explorer whinge with OpenLayers code

2007-10-24 Thread Nick Whitelegg
Hello everyone, For a while my Freemap site (free-map.org.uk) has been working fine in Firefox and Opera, but not working in Internet Explorer (isn't that always the way.) Because the places where I have access to Windows do not allow me to ssh to the Freemap server, it's very difficult for

Re: [OpenLayers-Users] controlling number of off-edge tiles that loads

2007-07-29 Thread Nick Whitelegg
On Sunday 29 Jul 2007 20:18, Barry Hunter wrote: > This is almost certainly a very simple question, and I sure I saw something > mentioning this somewhere, but darned if can find it now... > > Anyway I have created a custom layer, which is based on the WMS layer - it > all works great and displays