Select to view content in your preferred language

Using Geomtery Service to find  Relation between point and Polygon graphics .

592
0
05-28-2013 03:24 AM
Labels (1)
AnkitaBhatia
Occasional Contributor
Hi,
I have two graphics layers on a map.
PolygonLayer (which holds a polygon).
MiscLayer (which holds 2 polylines and 2 points). I define the renderer for the graphic at runtime, but have the renderer for the [LEFT][/LEFT]Polyline defined in XAML.

The problem arises when I try to run GeometryService-Relation to find what points on MiscLayer lies "Within" the Polygon in PolygonLayer.

If I keep the Polylines and Points on same layer and renderer for the Polyline defined in XAML, the query never returns the points that lie inside the polygon.


Else If I REMOVE the Polylines and renderer for the Polyline defined in XAML, the query returns the points that lie inside the polygon.

Can anyone explain the reason for the same!
0 Kudos
0 Replies