Skip to content

OIP: OpenLayers 3 for the main map

SannaJokela edited this page Dec 15, 2016 · 3 revisions

Description

Technical assumptions

OpenLayers 2.x map client is now used on the Oskari main map. The Oskari embedded map client has already been updated to use OpenLayers 3.x series. In order to avoid having to develop support for all new features for both OpenLayers versions, the main map client should also be updated to 3.x series. Also, this will benefit Oskari users in terms of smaller package size and up-to-date functionality. Some of the modules are readily available as they have already been updated for the embedded map client.

Dependencies

Most of Oskari functionality depends on the main map. It needs to be made sure all core modules and plugins work with OpenLayers 3.x series. Project owners and Community members need to ensure modules and plugins created by them work as expected before updating to an Oskari version with OL3 main map.

Suggested implementation

Make the update in a development branch, run automated and manual tests and fix any upcoming issues module by module.

User stories

  • As an Oskari user or developer, I'd like to take advantage of the improved functionality of OL 3.x series throughout the software
  • As an Oskari developer, I would not like to maintain functionality for multiple versions of the same map client

Does the item need to be divided into multiple independent proposals?

No.

Difficulty

  • There are some difficulties expected, as OL2 functions differ to a major extent from OL3 functions.

Goals

  • New and improved features possible for the main map as per OL3 improvements
  • Reduced maintenance overhead

Additional documentation

  • No additional documentation, as this is mostly a behind-the-scenes effort

Other interested parties

  • Contributions are warmly welcomed!