getSelectedShape(x: Number, y: Number);
x. Point abscissa.
y. Point ordinate.
The getSelectedShape method returns map layer area by coordinates of a point belonging to this area or the most recently hovered over area.
The method returns a PP.MapShape value.
If values of both parameters are not defined when invoking the method, the method returns the most recently hovered over map area. Otherwise the method returns map layer area by coordinates of a point that belongs to this area.
The example of use is given in the page with description of the MapChart.LastHoveredItem property.
See also: