I'm developing Freemap (www.free-map.org.uk), a "mashup" site which allows
users to annotate OpenStreetMap-based maps. I'm using OpenLayers 2.1/2.2 and
getting some problems with markers which I didn't get when using earlier
Firstly a problem with markers and OpenLayers 2.1. (2.2 doesn't work at all -
see other email)
If you go to the main page at http://www.free-map.org.uk/npe/, you see a
historical map of the UK overlaid with OSM footpath data plus Freemap's own
annotations layer (the multi-coloured markers).
However, if you move the map around, the markers layer isn't dynamically
loaded as you move into new areas, or if you jump to another location using
the search. For example, if you enter "Brockenhurst" in the search box, the
map relocates to the village of Brockenhurst but a marker in the centre of
the village does not appear. Instead, what happens is it reloads the markers
from the default location (Fernhurst).
Any ideas what might be wrong here? The code to fetch the XML representing the
markers is in: