Hello Community,
I am using the Esri.ArcGISRuntime.Toolkit.Maui package version 200.1.0;
My question is regarding taking an Envelope, or "area of interest" offline. Let's say we have two "areas" in North America that exist. See screenshot below:
Is it possible to take two separate envelopes (one in Canada, one in the US) as the "area of interest" when performing the 'GenerateOfflineMap(GenerateOfflineMapParameters g, string p),' where 'g' contains only one AreaOfInterest defined?
In other words, do I really need one large envelope that includes everything between my two "areas of interest"?
Relevant code below:
Any tips or information is greatly appreciated.
Thanks,
Trey
Solved! Go to Solution.
Have you tried using a Polygon with two rings instead of an extent? That might do the trick.
Have you tried using a Polygon with two rings instead of an extent? That might do the trick.
I went ahead and used a PolygonBuilder and used the 'AddPart()' method and it worked like a charm! At first I was having trouble with it since I was doing 'AddPoint()' rather than "Part," but all is well now.
Cheers!