I've made a first batch of changes:
http://drupal.org/cvs?commit=268348

0.x was not using callbacks, which was why extra processing was needed in openlayers.render.inc . I've reinstated callbacks, but have made them optional, so most layers that don't need special processing don't need to use the callback.

I've also removed a few layers from openlayers_layers - specifically:
1. OpenAerial. The project is down and appears to be having problems. http://www.openaerialmap.org/Main_Page
2. All maps hosted by hybercube. Painfully Painfully slow. http://wiki.osgeo.org/wiki/TelaScience/Machines/HyperCube . Layers removed are openlayers_layers_nasa_global_mosaic, openlayers_layers_osm_4326_hybrid.

Lastly, I haven't implemented layer level resolutions, serverResolutions and maxExtent. We need to have a discussion on what these are for and how they work. I'm a little confused about it all. maxExtent for the default wms layer looks to be in 900913, which doesn't make much sense to me.

Comments

phayes’s picture

Oh yes, one more thing from my todo list:

rename 'options' in openlayers_layers_cloudmade layer to 'params' to be consistent

tmcw’s picture

Status: Active » Fixed

The callback change was superseded by the layer object system and render() hook - let's make more granular issues for the rest of layer system related changes now that the big ones are made?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.