Class: module:FeatureHash


Provide an OpenLayers format for encoding and decoding features for use in permalinks.

The code is based on St├ęphane Brunner's URLCompressed format.


  • The OpenLayers-URLCompressed format has options where the user can define attribute and style transformers. This is currently not supported by this format.
  • The OpenLayers-URLCompressed format has a "simplify" option. This format does not have it.
  • styles are not supported.
  • Transformation of coordinates during encoding and decoding is not supported.