Skip to content

Releases: OpenGeoscience/geojs

Version 0.19.7

07 Oct 16:48
722e55c
Compare
Choose a tag to compare

Features

  • The osmLayer now has predefined tileSources that can be used with the source method or property to switch multiple parameters at once (#1020)

Improvements

  • Points with small radii or thin strokes are rendered better (#1021)
  • When only updating point styles, don't recompute geometry transforms (#1022)
  • Optimized a transform code path for pixel coordinates (#1023)
  • WebGL point features automatically use the most memory-efficient primitive shape for the point sizes used based on the system's graphics capabilities (#1031)
  • Less data is transfered to the GPU when only styles have changed in webgl line or polygon features (#1016)

Changes

  • Switched the default tile server to Stamen Design's toner-lite (#1020)

Bug Fixes

  • Mouse wheel events didn't recompute gcs coordinates, so a wheel event without a previous move event coult list the wrong location (#1027)
  • Original event data was not included with actionwheel events (#1030)

Version 0.19.6

13 Aug 13:31
4b16225
Compare
Choose a tag to compare

Features

  • Added a polygonSearch method to features (#1014)

Changes

  • The feature boxSearch function now uses map input gcs coordinates consistently and returns results in the same format as pointSearch (#1014)
  • The pointTo2DTriangleBasis utility function was renamed to pointToTriangleBasis2d (#1014)

Version 0.19.5

12 Jul 12:11
a538e6a
Compare
Choose a tag to compare

Features

  • Fetch queues can have an initial size different from their regular size (#1000)
  • Autoshare renderers now has three states, with the default being more likely to not change anything visually (#1011)

Improvements

  • More response zooming via mouse wheel (#993)
  • Explicitly exit retired renderers when autosharing renderers (#1007)
  • If a point has no stroke or fill, don't return it from pointSearch (#1003)
  • WebGL point, line, polygon, and contour features use a localized origin for improved precision at high zoom levels. This reduces panning jitter in zoom levels 19 and up (#1005)
  • When doing a point search on a line feature, report which line segment is found (#1008)
  • Include source event information in some feature events (#1009)

Changes

  • Idle handlers no longer defer to scene-graph parents. Parents still wait for all children to be idle (#1001)
  • Better handling of tiles with overlap (#997)

Bug Fixes

  • Shared tile layers stack properly by clearing quads on layer addition and removal (#1010)

Version 0.19.4

11 Apr 19:26
8549fd6
Compare
Choose a tag to compare

Improvements

  • Speed up rebuilding webgl point features (#994)

Version 0.19.3

03 Apr 17:37
395b278
Compare
Choose a tag to compare

Features

  • Layers that use webgl renderers automatically share contexts when possible. Layers can switch renderers manually as well. This largely avoids the limitation of number of webgl contexts in a browser (#975)
  • Support affine transforms in the proj4 string (#986)

Improvements

  • Speed up rendering geojson features by using constant values for constant geojson styles (#987)

Changes

  • The point clustering radius value is now in display pixels (#983)

Bug Fixes

  • Fixed drawing partial fixed-scale canvas quads (#985)

Version 0.19.2

28 Feb 19:34
641542e
Compare
Choose a tag to compare

Version 0.19.2

Improvements

  • Make fewer function calls when computing polygon strokes (#980)
  • Speed up coordinate transforms that only switch y-axis (#979)

Version 0.19.1

19 Feb 15:01
e8c7980
Compare
Choose a tag to compare

Features

  • Polygon annotations can be drawn in the same continuous smooth manner as line annotations (#976)

Changes

  • Rename the d3 renderer to svg. d3 still works as an alias (#965)
  • Rename the vgl renderer to webgl. vgl still works as an alias (#965)

Version 0.19.0

27 Nov 20:44
d6f49df
Compare
Choose a tag to compare

Features

  • Feature selection API is now enabled automatically if any event handlers are bounds to the feature (#921)
  • Added a VTK.js renderer which supports a point feature (#893, #953)

Improvements

  • Coordinate transforms on flat arrays are now faster (#939)
  • convertColor is memoized to speed up repeated calls (#936)
  • All features have a featureType property (#931)
  • When changing geometry sizes, buffers are reallocated less (#941)
  • Initial rendering webGL features is somewhat faster (#943)
  • WebGL point and polygon features no longer clip by z coordinates (#963)

Changes

  • Removed the dependency on the vgl module for the object and timestamp classes (#918)
  • CSS color names are obtained from an npm package rather than being defined in the util module (#936)
  • Updated several npm modules (#944)
  • Report the unmasked renderer used with webgl (#947)
  • Width and height are now in the base renderer class (#962)

Bug Fixes

  • Fixed some minor issues with layers (#949)

Documentation

Version 0.18.1

07 Sep 12:10
ff7e934
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue with the annotation key handler (#923)

Version 0.18.0

31 Aug 17:38
0c72696
Compare
Choose a tag to compare

Features

  • Added an idle property to objects (#894)
  • Better handling and changing of camera clipbounds (#899)
  • File readers (the geojsonReader) now returns a Promise. The layer will report that it is not idle until this promise is finalized (#905)

Bug Fixes

  • Fixed an issue with overlapping, cropped tiles on old browsers (#901)
  • Fixed an issue where a geo.gl.polygonFeature could be updated after it was deleted (#913)

Changes

  • Changed build process: optional dependencies are now included in the bundle by default (#890)
  • Transpile with Babel to support old browsers and new language features (#900, #903)
  • The geojsonReader has been renamed from jsonReader to geojsonReader. The old name still works as an alias (#905)
  • Catch errors in animation frame callbacks (#911)