[OpenLayers-Users] Problem with pop-ups not closing

James Morley james at jamesmorley.net
Thu Oct 4 07:39:25 PDT 2012


Hi

I now have a working prototype of an OpenLayers/OSM map displaying Flickr
Commons images using the Flickr API. It's based on a BBOX strategy to
display the latest 250 images for the current view (there are currently
about 27,000 geotagged images freely available).

I am having problems with a very intermittent bug where a pop-up won't
close. Unfortunately I can't give a specific, repeatable case, but I've set
the initial view on
http://www.whatsthatpicture.com/flickr/commons-osmtest-v3.4.htm to be Sri
Lanka where there's a good range of data and if you click around I'm sure
it will crop up quite soon (and you'll see some nice old images along the
way!)

The only clue I can see is that typically either when panning/zooming or at
the point of clicking a placemark I sometimes get an error such as
"TypeError: OpenLayers.Protocol.Script.registry.c2 is not a function
http://api.flickr.com/services/rest?api_key=397b0cfba9cf8854c050a169da5c098c&format=json&is_commons=true&method=flickr.photos.search&extras=geo%2Curl_s%2Cowner_name%2Cpath_alias&per_page=500&has_geo=true&bbox=76.261587875,3.5691470263083,84.171744125,8.4837699498849&jsoncallback=OpenLayers.Protocol.Script.registry.c2Line
1"

Any help would be much appreciated - I've made good progress getting to
grips with OpenLayers from scratch but it's things like this that are
giving me grief!

Thanks

-- 
---
James Morley
www.jamesmorley.net / @jamesinealing
www.whatsthatpicture.com / @PhotosOfThePast
www.apennypermile.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121004/cf82a794/attachment.html>


More information about the Users mailing list