Symbioquine
|
01e1f05c46
|
Enable the snapping grid controls when farmOS-map is used for editing #335
|
2020-08-11 08:51:56 -04:00 |
Michael Stenta
|
be723c1149
|
Remove farm_map.js detach() method to fix map instances being destroyed before they should be.
|
2020-06-01 15:52:20 -04:00 |
Michael Stenta
|
19579e91df
|
When the map popup is closed, return focus to the map.
|
2020-02-17 12:50:24 -05:00 |
Michael Stenta
|
cd87da08f4
|
Display polygon/linestring measurement in map popups.
|
2020-02-10 14:27:50 -05:00 |
Michael Stenta
|
9f6bbb8253
|
Update farmOS-map library to v0.9.1 and add weights to behaviors.
|
2020-02-10 14:27:50 -05:00 |
Michael Stenta
|
dd717a1f5c
|
Fix zoom to all areas when WKT is empty.
|
2020-02-10 14:27:50 -05:00 |
Michael Stenta
|
6d8d070198
|
Fix duplicate measure behavior on editable maps.
|
2020-02-10 14:27:50 -05:00 |
Michael Stenta
|
c3ca0cc041
|
Destroy farmOS-map instances when Drupal behaviors are detached.
|
2020-02-10 14:27:50 -05:00 |
Michael Stenta
|
18e86f9550
|
Refactor Drupal.behaviors.farm_map so that Drupal.settings.farm_map.maps is not needed.
|
2020-02-10 14:27:50 -05:00 |
Michael Stenta
|
164709c169
|
Add cluster support to the popup behavior.
|
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
|
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
|
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
|
30ce3a796f
|
Update farmOS-map.js to v0.2.0.
|
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 |