Multiple Measurement and Polygons

218
2
01-09-2020 01:20 PM
TaylorMinshall
New Contributor

Hello all!

We have multiple customers that are complaining that they cannot draw multiple polygons or measure multiple things on our maps. We are currently using Javscript 4.11. Is there a way i can allow this? 

Thanks!

0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor

For the measurement aspect, each widget (both area and distance measurement widgets) is designed to clear the previous measurement before starting a new one. It should be possible to use the appropriate measurement widget's viewModel to create new measurements without clearing the old one(s), but you would need to code that functionality yourself.

DistanceMeasurement2DViewModel | ArcGIS API for JavaScript 4.14 

0 Kudos
StevenCuthbert2
New Contributor

@Noah-Sager Do you have an example you could share? I'm new to JS so this is a bit out of my league.

0 Kudos