[OpenLayers-Users] Invalid bbox parameters being passed to Flickr

James Morley james at jamesmorley.net
Thu Oct 11 11:26:21 PDT 2012


I've been having problems with invalid bbox values being passed in a
Flickr query. I assumed it was something I'd done, but I went back to
the example I based my map on - see
http://openlayers.org/dev/examples/strategy-bbox.html - and I've found
it's happening there too.

Basically if your map view crosses the 180th meridian the bbox
contains values greater than 180. So I'm seeing calls to Flickr like
http://api.flickr.com/services/rest?api_key=b5e8c0e287e678671c3d8b2c0f3ced85&format=json&method=flickr.photos.search&extras=geo%2Curl_s&per_page=10&page=1&bbox=-24.78515662135,-98.406289604099,335.21484337865,45.169582129917&jsoncallback=OpenLayers.Protocol.Script.registry.c6

Has anyone come across this before?


More information about the Users mailing list