OpenLayers 3
This page aims to organize ideas around the next major version of OpenLayers. General goals for 3.0 are discussed here. Detailed proposals should be organized in their own pages (under the 'three' category).
Goals
General goals for OpenLayers 3 are described below.
Smaller
The library should be written using coding patterns and syntax that reduces the overall size of the library. This includes reducing dependencies (and inheritance) where not strictly necessary and considering patterns that allow for better minimization (through obfuscation) by increasing the use of private members. While the aim is to allow for smaller builds, compact syntax should not compromise code readability.
Faster
Map dragging should be optimized. Evaluate methods for improving performance of basic map navigation options including delayed or asynchronous event firing and limiting the number of elements with browser event listeners.
Cleaner API
Some decisions about the OpenLayers API were made early on in the development of the library. Subsequent work and experience has highlighted aspects of the API that deserve clean up. Some of these are already marked in the code as FIXME 3.0 or similar.
Separate UI from Core
The library core should minimize generation of DOM elements that represent visual UI components.
The core should focus on the following:
- layer management - tile handling & vector rendering
- map & layer related event handling
- server/client communication - generating requests and parsing responses
- geometry digitization & editing
A separate OpenLayers UI lib should focus on the following:
- rendering of buttons and other widgets
- presenting map information that is not rendered as features (layer properties, feature attributes)
- gathering user input for map configuration, queries, etc.
Proposals
Specific proposals for the 3.0 release should be described in separate pages. Pages named like three/foo will be listed here.
- three/BetterProjectionHandling
- three/DOMAdapters
- three/MultipleSymbolizers
- three/RemoveOverlayBaseLayerDichotomy
- three/SingleRendererRoot
- three/UnifiedLocationObject
Tickets
Where it makes sense to include patches or describe ideas in tickets, create a ticket targeted at the 3.0 Milestone. Those tickets will be listed here.
- #90
- improved popups
- #352
- Implement Google API on top of OpenLayers
- #354
- Add Ability to Hide/Show() BaseLayer
- #640
- comb through the code and fix all the "TBD 3.0" commented issues
- #648
- Remove 'url' param from OpenLayers.Tile
- #902
- store evt on handler
- #1096
- add property isOnTop to Layer
- #1100
- Add ability to navigate in the time dimension for layers
- #1283
- Switch Control
- #1304
- OpenLayers.Util.pagePosition should return OpenLayers.Pixel
- #1508
- *featureadded* event for DrawFeature control
- #1626
- Format.GML: parse srsName
- #1729
- Move Sizing of OverviewMap and LayerSwitchers' Hide/Show Buttons to CSS
- #1845
- remove style property in favor of symbolizers
- #1993
- remove context from Rule and Style
- #1996
- support more information on feature attributes
- #2023
- allow different properties on map and layers
- #2346
- have more consistent naming conventions for events
- #2375
- move OpenLayers.Util.indexOf to OpenLayers.Array.indexOf
- #2531
- have consistent writing of URL versus Url throughout the library
- #2571
- Format read should return an object with a features array
- #2619
- Deprecate the theme map option
- #2679
- remove deprecated Control.MouseDefaults
- #2680
- remove deprecated Control.MouseToolbar
- #2681
- commercial API layers should only be accessible via sphericalMercator?
- #2698
- control.handler and control.handlers
- #2699
- create protocol for WM(T)S GetFeatureInfo
- #2720
- Refactor Layer.Grid into separate Grid class
- #2721
- deprecate '$' function
- #2795
- getParameters does not deal correctly with duplicate parameter names
- #2804
- Impossible to put a Google layer over a standard layer
- #2809
- Create a ProviderApi class to handle embedding of BYGO map provider APIs
- #2813
- constructor for Scale Control differs from normal controls
- #2844
- remove OpenLayers.Control.PanZoom
- #2881
- Resizing map causes markers to shift relative to VirtualEarth layer
- #2890
- remove OpenLayers.Map.TILE_WIDTH and OpenLayers.Map.TILE_HEIGHT
