1
Vote

polygon render wp8.1

description

I cant seem to get a polygon to render in wp 8.1

kml snippet

<Placemark>
  <name>H01GG</name>
  <description />
  <styleUrl>#S84</styleUrl>
  <Polygon>
    <outerBoundaryIs>
      <LinearRing>
        <coordinates>12.017646555132941,48.1102911792725 12.017607663102225,48.110319833790726 12.017576817698554,48.110341324668916 12.017524514622763,48.11035296555752 12.017477575965003,48.11035027919884 12.017440025038794,48.11034311557503 12.017411861844138,48.1103287883244 12.017386380858496,48.11031356561623 12.0173689464999,48.11028759745659 12.01735285324581,48.11026342019273 12.017360899872855,48.11023297473316 12.017381016440467,48.11020521562194 12.017418567366675,48.110183724686834 12.017450753874854,48.11016581556738 12.01751110357769,48.11015417463639 12.017545972294883,48.11015148826732 12.017606321997718,48.110152383723694 12.017657283969001,48.11016581556738 12.017681423850135,48.110182829231014 12.017686788268164,48.11020879744359 12.017681423850135,48.110232079278184 12.01767337722309,48.110259838374894 12.017646555132941,48.1102911792725</coordinates>
      </LinearRing>
    </outerBoundaryIs>
  </Polygon>
</Placemark>

comments

rbrundritt wrote Nov 12, 2014 at 1:15 PM

The issue is with the WP8.1 map control. It is really fussy about polygons. No points/edges can cross. If you round your coordinates to 6 decimal places (approximately 30 cm resolution), you will find a number of your coordinates are the same. There really isn't a good way around this. I tried creating my own custom shapes and overlaying them but their is a significant performance hit. This is something that has to be fixed by the WP team.