I'm looking to update my application from OpenLayers 2 to OpenLayers 3.
Is anyone aware of a Migration Guide (or something similar) that would help with this?
I'm looking to update my application from OpenLayers 2 to OpenLayers 3.
Is anyone aware of a Migration Guide (or something similar) that would help with this?
OpenLayers3 has a new design and concepts and modelled different, so there is no direct translation.
I think the best option is starting reading the current available books so you can learn it and evaluate yourself:
Take into account OL3 has many improvements over OL2 but not all the features of OL2 are implemented in OL3 yet.
FWIW - We'd like to contribute as we migrate our simple-minded page at http://www.nufosmatic.com from ol2 to ol3. The problem looks formidible, but a lot of it is that ol3 looks to be so much better than ol2, and the examples look to be much improved, and the docs are so much better BUT THEY ARE DIFFERENT and they are confusing if you've finally gotten used to ol2 docs.
Namespaces have changed, and some of the order of API calls must change as a result of some semantical differences. Here is a simple-minded, first-order map migration. This simple-minded exercise took about an hour mostly due to the new doc confusion mentioned above:
The top-layer html changes a bit in the tags from with some wrapper changes (where the above are in the js/main.js file):