You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you try to add the measure behavior to multiple layers (eg: in the "current location" and "new location" layers in the animal move quick form map: https://www.drupal.org/project/farm/issues/3156713), it works at first (both layers show their measurements), but if you then try to edit a layer then the other one disappears.
The text was updated successfully, but these errors were encountered:
Then, specifically, whenever stopMeasure() runs, it goes through and removes any measure overlays with IDs that are not found in the layer. So because layer gets overridden, it doesn't find any of the measures in the first layer, and removes them all:
If you try to add the measure behavior to multiple layers (eg: in the "current location" and "new location" layers in the animal move quick form map: https://www.drupal.org/project/farm/issues/3156713), it works at first (both layers show their measurements), but if you then try to edit a layer then the other one disappears.
The text was updated successfully, but these errors were encountered: