I've made the first port of 0.x to 2.x:

http://drupal.org/cvs?commit=268236
http://drupal.org/cvs?commit=268238

The main changes are that we now have three view styles.
1. Map style from 1.x
2. Map style from 0.x
3. Data style from 0.x

The machine names remain unchanged, but for the map styles i've renamed the human titles to "Openlayers Map Simple" (0.x) and "Openlayers Map Original" (1.x)

We should likely reduce these to just two: data and map. There are also likely efficiencies to be gained by combining form elements and feature processing under private functions that get called from both styles.

This remains mostly untested as the rest of the API switch over was making it difficult.

Things to do:
1. Decide on how to reduce the number of styles.
2. Add private functions for sharing tasks across styles (form elements and feature processing comes to mind)
3. plugin-a-lize the layers exposed by the openlayers data style
4. Test it to make sure all the functionality that was there before is still there.

Comments

phayes’s picture

Oh yesh I forgot.

two other things:
1. Do a cache clear when you upgrade as i've renamed some files
2. I've renamed the the naming convention on openlayers_data layers to "openlayers_views_x_x" since the previous naming convention wasn't properly namespacing them and could result in conflict. This might break things for people who are using these layers.

tmcw’s picture

Status: Active » Fixed

This has been since fixed.

Status: Fixed » Closed (fixed)

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