RequestShapeAsync Polygon across international dateline

3966
7
Jump to solution
12-10-2015 11:30 AM
KeithMacIntyre
New Contributor III

Wraparound is enabled, when we request a polygon shape and draw it across the date line it wraps the polygon around the earth.  For polylines we implemented a custom solution to normalize the lines, but this is not ideal and it is complicated and doesn't work that well.  Is this something that is planned to be fixed?  FreeHand, rectangles, ellipses work correctly

0 Kudos
1 Solution

Accepted Solutions
KeithMacIntyre
New Contributor III

It looks like this may have been fixed in 10.2.6, however with the major CompositeSymbol bug, we are reluctant to upgrade.  Is there a timeline when that will be fixed?

View solution in original post

0 Kudos
7 Replies
AnttiKajanus1
Occasional Contributor III

Hi Keith,

What version you are using? And does the drawing order make any difference?

0 Kudos
KeithMacIntyre
New Contributor III

We are using 10.2.5 and no, it does not make a difference which order the drawing is done, and normalizing does not help.  Even the lines from the editor wrap around

0 Kudos
dotMorten_esri
Esri Notable Contributor

Keith MacIntyre wrote:

For polylines we implemented a custom solution to normalize the lines...

Are you not using the GeometryEngine.NormalizeCentralMeridian Method to perform the normalization?

0 Kudos
KeithMacIntyre
New Contributor III

Yes, that is what we are using, but we've had to turn off the default Editor lines that display when you add points to the map, and adjusting them if they cross the meridian and then normalize.  It's very cumbersome. 

In the samples app, Symbology->Line and Fill symbols you will see that your editor does not work across the dateline.

0 Kudos
KeithMacIntyre
New Contributor III

It looks like this may have been fixed in 10.2.6, however with the major CompositeSymbol bug, we are reluctant to upgrade.  Is there a timeline when that will be fixed?

0 Kudos
dotMorten_esri
Esri Notable Contributor

Which "major composite symbol bug" ?

0 Kudos
KeithMacIntyre
New Contributor III

Changes to an existing CompositeSymbol (adding, removing, or updating the symbols it contains) are not reflected in the display.

  • Workaround: Recreate, modify, and re-apply the composite symbol as illustrated in the following example.
0 Kudos