Is there a way to turn off the ability to make a KML Layer clickable? The reason I ask is that I want to be able to select a point on the map to be processed by the OnMapClick, but it's showing the popup data from the KML layer instead.
Unfortunately it is not supported to trigger an OnMapClick event when clicking on a KML layer.
This behavior is by design.
For example, when adding a polygon to the map, clicking the polygon will only trigger the OnPolyElementClick event but not the OnMapClick event.
We'll have to investigate if an OnKMLLayerClick event can be added in a future TMS FNC Maps version.