Last Updated: 12 Jul 2021 07:37 by ADMIN
Release R3 2021 (LIB 2021.2.712)
Created on: 15 Jun 2021 10:02
Category: Map
Type: Bug Report
RadMap: Layers.HitTest method overloads should all consider whether the layer is visible or not
The RadMap.Layers collection offers several overloads for the HitTest method:

- HitTest(PointG location)
- HitTest(PointL point)
- HitTest(Point location)

However, if the layer is not visible, its IsVisible property is set to false, the HitTest(PointL point) will not return the clicked pin, but the HitTest(PointG point) method will return it. This behavior is not consistent and all overloads should consider whether the layer is visible or not.