Hi list, This is my first post.
I have developed an html-javascript script to load Panoramio's photos in OpenLayers. Panoramio (http:/www.panoramio.com) is a great store of georeferenced photos accesible with a public API ( http://www.panoramio.com/api/) that allows to get a doc in JSON format. A how-to explanation can be viewed as a post in our blog (in spanish - http://www.gisandchips.org) :http://www.gisandchips.org/2010/05/04/openlayers-y-panoramio/ We have also made two examples: 1. OpenLayers with OpenStreetMap base layer and Panoramio: http://www.gisandchips.org/demos/j3m/panoramio/panoramio.html 2. OpenLayers with WMS base layer and Panoramio: http://www.gisandchips.org/demos/j3m/panoramio/panoramio_4326.html Now, my questions: 1. How can I design a new custom layer format ( http://docs.openlayers.org/library/formats.html) for Panoramio to load the layer as usual (example: panoLayer = new OpenLayers.Layer.Format.Panoramio(<json data>). I make an unique JSON data request, but I don't know how to make the layer persistent (new httpRequest) for every zoom-pan event which loads new data. Any suggestions are welcome Regards
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users