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 |
Michael Stenta
|
7e930dd210
|
Make farm_map_combine_geoms() more resilient to empty geometries.
|
2020-07-15 13:45:19 -04:00 |
Michael Stenta
|
a3b7600047
|
Fix Error: call to undefined function bcscale() #258
|
2020-02-28 14:20:20 -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
|
58734b0f23
|
Explicitly set BCMath scale to 24 when performing geometry calculations, and reset afterwards.
|
2019-12-31 11:40:38 -05:00 |
Michael Stenta
|
2bd13f2e0e
|
Rename farm_map_geofield_geometry_combine() to farm_map_combine_geoms().
|
2019-12-31 11:40:38 -05:00 |
Michael Stenta
|
11c02e2ab8
|
Move farm_map geometry functions to an include file.
|
2019-12-31 11:40:38 -05:00 |