Skip to content

Releases: farmOS/farmOS-map

v1.0.1

10 Apr 04:03
Compare
Choose a tag to compare

This release includes the following changes:

  • Provide an 'arcgis-tile' layer type #67
  • Fix TypeError: this.snapInteraction is undefined #69
  • Add a GitHub action for packaging releases #45

v1.0.0

25 Feb 21:50
Compare
Choose a tag to compare

This is the first official stable release of farmOS-map.js! 🎉

For information about everything that was done leading up to this, see the v1.0.0 milestone: https://github.com/farmOS/farmOS-map/milestone/1

Changes from v0.9.5 include:

  • Enable high accuracy in the Geolocate control.
  • Update OpenLayers to 6.2.1.
  • Use SVG icons instead of Unicode characters for drawing and geolocate control buttons #41

v0.9.5

21 Feb 16:46
Compare
Choose a tag to compare

This release changes the license of the project to GPLv2, so that it is compatible with Drupal.org packaging requirements.

See: https://www.drupal.org/project/drupalorg_whitelist/issues/3114971

v0.9.4

15 Feb 16:28
Compare
Choose a tag to compare

This release includes the following changes:

  • Base layers will be added to the top of the group, instead of the bottom.

v0.9.3

08 Feb 19:01
Compare
Choose a tag to compare

This release includes:

  • Move forEachLayer.js to src/utils.
  • Move formatArea() and formatLength() functions to src/utils/measure.js.
  • Create a measureGeometry() function that works with Polygon and LineString geometries.
  • Add measureGeometry() as an instance method.
  • Update all dependencies.

v0.9.2

08 Feb 01:05
Compare
Choose a tag to compare

This release includes:

  • Don't let OLGoogleMaps manage tile or image layers.

v0.9.1

03 Feb 19:14
Compare
Choose a tag to compare

This release includes:

  • Sort farmOS.behaviors.map by an optional weight property. See #56 (comment)

v0.9.0

30 Jan 19:17
Compare
Choose a tag to compare

This release includes:

  • Add layer(s): Google Maps #8

v0.8.0

30 Jan 17:57
Compare
Choose a tag to compare

This release includes breaking changes:

  • Use addBehavior('draw') instead of enableDraw() method.

Other updates include:

  • Split features when importing GEOMETRYCOLLECTION in WKT.
  • Remove constrainResolution option from zoom methods so it can be set globally elsewhere.
  • Provide instance method for getting a layer by name (recursing into groups): getLayerByName()
  • Add base layers to the bottom of the group.
  • Fix walkermatt/ol-layerswitcher#259 in layer switcher.
  • Collapse Base Layers group by default.
  • Set a maxZoom of 20 in zoomToVectors() and zoomToLayer().
  • Add an attachBehavior() method to instances.
  • Add an addBehavior() method to instances to allow adding a behavior by name from src/behavior.
  • Allow vector layer to be added without any options.
  • Default layer colors to orange.
  • Allow options to be passed in to behavior attach functions.
  • Convert enableDraw() method to a new 'edit' behavior.
  • Default interaction listener format to GeoJSON.
  • Allow 'disable' event listeners to be run when disableAll() fires.
  • Pass the event object into event listener callbacks as a second parameter.
  • Refactor measure logic into a behavior.

v0.7.0

12 Dec 19:13
Compare
Choose a tag to compare

This release includes breaking changes:

  • Use enableDraw() method instead of drawing: true initialization option. #50
  • Remove setWKT and setGeoJSON methods.

Other updates include:

  • Add support for cluster layers #37
  • Allow rotating map and show North arrow #39
  • Change button color scheme to match farmOS #43
  • Accept an optional layer param for enableDraw.
  • Save instance initialization options to the instance so they are available for later use.
  • Replace OL core function for transforming from EPSG:3857 to EPSG:4326 to fix longitudes that have crossed the international date line. Fixes #49.