Michael Stenta
|
ad4725c12f
|
Change all relevant links from farmOS.org to v1.farmOS.org.
|
2021-12-21 19:18:39 -05:00 |
Paul Weidner
|
fcdefd7f71
|
Update link to api keys documentation.
|
2020-12-06 05:30:13 -05:00 |
Michael Stenta
|
f83e56cc44
|
Reset the static scale variable with drupal_static_reset() so that successive calls to farm_map_set_bcscale() work.
|
2020-11-11 07:51:55 -05:00 |
Michael Stenta
|
54cfbf5296
|
Use drupal_static() instead of static variables in farm_map_set_bcscale().
|
2020-11-11 07:51:55 -05:00 |
Michael Stenta
|
af0b25147e
|
Decrement $depth every time farm_map_reset_bcscale() is run.
|
2020-11-11 07:51:51 -05:00 |
Michael Stenta
|
d6ed1f0e3e
|
Revert "Unset the static $scale variable so a new scale can later be set."
This reverts commit 7aa49b68a4 .
See https://github.com/farmOS/farmOS/issues/367
|
2020-11-10 11:44:22 -05:00 |
Michael Stenta
|
f9dea9a248
|
Expand bcscale() comment in farm_map_set_bcscale().
|
2020-10-30 19:10:42 -04:00 |
paul121
|
7aa49b68a4
|
Unset the static $scale variable so a new scale can later be set.
|
2020-10-30 18:51:14 -04:00 |
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
|
571ffbe733
|
Update mapbox layers to use 512x512 tile size.
|
2020-07-29 12:32:32 -04:00 |
paul121
|
52e369824e
|
Update mapbox layers to use new studio style format.
|
2020-07-29 12:22:07 -04:00 |
Michael Stenta
|
7e930dd210
|
Make farm_map_combine_geoms() more resilient to empty geometries.
|
2020-07-15 13:45:19 -04:00 |
Michael Stenta
|
fd867b6fbb
|
Fix farm_map base_path JS setting to work without clean URLs.
|
2020-07-15 11:53:54 -04:00 |
Michael Stenta
|
04b5c94766
|
Pass area descriptions through check_plain() when exporting KML to ensure that ampersands are escaped. See https://stackoverflow.com/questions/48207963/the-kml-file-contains-invalid-or-unsupported-data-or-the-file-is-too-large-to-p
|
2020-06-18 09:14:57 -04:00 |
Michael Stenta
|
e65a47ffd9
|
Use default file scheme when saving KML export files (use private directory if that is the default).
|
2020-06-03 07:45:29 -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
|
40f0eb51fc
|
Add Mapbox watermark and attribution.
|
2020-05-12 09:38:30 -04:00 |
Michael Stenta
|
327894095f
|
Escape special characters in entity_label() usages.
|
2020-04-23 11:29:19 -04:00 |
Michael Stenta
|
a3b7600047
|
Fix Error: call to undefined function bcscale() #258
|
2020-02-28 14:20:20 -05:00 |
Michael Stenta
|
27c83e92d5
|
Make sure farmOS.map.behaviors.geofield runs after farmOS.map.behaviors.wkt.
|
2020-02-20 23:30:56 -05:00 |
Michael Stenta
|
76bedcb779
|
Make the Mapbox Satellite layer visible by default.
|
2020-02-17 13:41:22 -05: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
|
797a8c4428
|
Swap the Mapbox layers so that Satellite appears on top.
|
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
|
b1a961ae86
|
Remove Openlayers modules, patches, dependencies, configuration, and related code.
|
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
|
3984b8d8dd
|
When AJAX reloads a geofield map, look for new WKT in $form_state['input'].
|
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
|
9b5eb5a1d9
|
Remove old farm_map_show variable.
|
2020-02-10 14:27:49 -05:00 |
Michael Stenta
|
164709c169
|
Add cluster support to the popup behavior.
|
2020-02-10 14:27:49 -05:00 |
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
|
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
|
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
|
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
|
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
|
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 |