Commit Graph

3720 Commits

Author SHA1 Message Date
Michael Stenta 0f121776f6 Provide a Farm Map block. 2020-02-10 14:27:49 -05:00
Michael Stenta e9e48590b5 Mapbox module: add Mapbox API key to farm map settings form and add the Mapbox Satellite layer to maps. 2020-02-10 14:27:49 -05:00
Michael Stenta 0d3a71e7f9 Refactor Google Maps integration to use a farmOS-map behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta 755f076242 Update farmOS-map library to v0.9.0. 2020-02-10 14:27:49 -05:00
Michael Stenta f329deff7c Remove patch from Geofield - no longer needed. 2020-02-10 14:27:49 -05:00
Michael Stenta 421b4d095e Install the new Farm Map Geofield module on existing sites. 2020-02-10 14:27:49 -05:00
Michael Stenta 4f30833bed Use farm_map_geofield widget in all geofields. 2020-02-10 14:27:49 -05:00
Michael Stenta 2ea421a4a6 Add Geocoder integration. 2020-02-10 14:27:49 -05:00
Michael Stenta e93040e9ab Provide a farm_map_geofield field widget that uses farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta 7d3ad27ae9 Show a combined "All areas" layer in geofields. 2020-02-10 14:27:49 -05:00
Michael Stenta 42ef0068a4 Use farm_map_geofield formatter in all geofield displays. 2020-02-10 14:27:49 -05:00
Michael Stenta bfe8f9114e Provide a farm_map_geofield field formatter that uses farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta a51da53fce Initial commit of Farm Map Geofield module. 2020-02-10 14:27:49 -05:00
Michael Stenta a9a712952b Add the measure behavior to WKT layers. 2020-02-10 14:27:49 -05:00
Michael Stenta 8baceff31f If #edit is TRUE on a map element, enable the edit behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta cd800b73f4 If WKT was provided in the element, show it in the map. 2020-02-10 14:27:49 -05:00
Michael Stenta 7ea8f923ce Update farmOS-map library to v0.8.0. 2020-02-10 14:27:49 -05:00
Michael Stenta 1dbd7d414b Update farmOS-map library to v0.7.0. 2020-02-10 14:27:49 -05:00
Michael Stenta c8c89d195e Set onFocusOnly: true when initializing maps, so that the user must click on the map before scroll zoom works. 2020-02-10 14:27:49 -05:00
Michael Stenta cc5664473c Pass system of measurement into farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta 942993d0d5 Remove default base layer setting (defer to farmOS-map layer memory). 2020-02-10 14:27:49 -05:00
Michael Stenta 8b8ada2a35 Update farmOS-map library to v0.5.0. 2020-02-10 14:27:49 -05:00
Michael Stenta d67fb1c796 Refactor MapKnitter module to use a farmOS-map behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta d7fd542069 Refactor farm_plan_map to use a farmOS-map behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta 0eea90dec0 Refactor NRCS Soil Survey to use a farmOS-map behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta 608eb047cf @todo This assumes that there is only one map on the page. 2020-02-10 14:27:49 -05:00
Michael Stenta c1ac402087 Refactor farm area generator to use a farmOS-map behavior. 2020-02-10 14:27:49 -05:00
Michael Stenta 2fb2adeb42 Display a popup when area features are clicked, and load area details via AJAX. 2020-02-10 14:27:49 -05:00
Michael Stenta 9f09c050e3 Add a JS setting that defines the base path of the site. 2020-02-10 14:27:49 -05:00
Michael Stenta 2fbd605693 Put all area layers in an "Areas" layer group. 2020-02-10 14:27:49 -05:00
Michael Stenta 74a8f1da72 Update farmOS-map library to v0.3.0. 2020-02-10 14:27:49 -05:00
Michael Stenta d7c67a130c Add all area type layers to farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta 1178d1fbb2 Change all area type styles to match those provided by farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta 30ce3a796f Update farmOS-map.js to v0.2.0. 2020-02-10 14:27:49 -05:00
Michael Stenta 18ec6180f9 Add new hooks for defining farmOS map behaviors in Drupal, and a farm_map_add_behavior() function for adding them. 2020-02-10 14:27:49 -05:00
Michael Stenta 7361a17490 Allow other modules to perform logic when a map is rendered via hook_farm_map_view(). 2020-02-10 14:27:49 -05:00
Michael Stenta c0fa34f1ae Set the height of farmOS maps to 400px. 2020-02-10 14:27:49 -05:00
Michael Stenta fbda7e5d97 Render new farmOS-map element in farm_map_build(). 2020-02-10 14:27:49 -05:00
Michael Stenta 6bc7e9f22e Add new farm_map element type with theme function that renders a farmOS-map. 2020-02-10 14:27:49 -05:00
Michael Stenta 2bce9efc87 Implement hook_libraries_info() in farm_map.module to integrate farmOS-map library. 2020-02-10 14:27:49 -05:00
Michael Stenta 507c32661a Add farmOS-map library to Drush makefile. 2020-02-10 14:27:49 -05:00
Michael Stenta c3bd73f89f Symlink /usr/local/bin/drush to drush.phar to fix TYPO3\PharStreamWrapper\Exception: Unexpected file extension 2020-02-10 14:22:47 -05:00
Michael Stenta c64a669525 Empty text in metrics pane: "No metrics available." 2020-02-08 10:26:12 -05:00
Michael Stenta 97c872cdc0 Allow decimal values in the milk quick form. 2020-02-07 14:10:03 -05:00
Michael Stenta 89a71ae937 Explicitly set BCMath scale to 24 in farm_area.module and farm_area_generate.module functions. 2020-01-30 13:48:45 -05:00
Michael Stenta ed5b5fa368 Make farm_map_set_bcscale() capable of maintaining scale even when it is used in nested functions without resetting prematurely. 2020-01-30 13:48:44 -05:00
Michael Stenta 9f86cb0099 Increment the farmOS API version to 1.2, now that entity field info is available in /farm.json. 2020-01-22 14:49:58 -05:00
Michael Stenta b9e64b2592 Provide field requirements/restrictions/defaults for log types at /farm.json 2020-01-22 14:15:40 -05:00
Michael Stenta 6dd973d765 Install the Quantity Report module with the default set of modules. 2020-01-20 15:35:03 -05:00
Symbioquine 55a1e390a4 Fix idempotency issue with deletion
https://github.com/farmOS/farmOS/issues/232
2020-01-20 15:28:21 -05:00