[OpenLayers-Trac] Re: [OpenLayers] #2708: Renderer
getFeatureIdFromEvent: docs incorrect?
OpenLayers
trac-20090302 at openlayers.org
Tue Jul 26 08:56:34 EDT 2011
#2708: Renderer getFeatureIdFromEvent: docs incorrect?
---------------------------+------------------------------------------------
Reporter: bartvde | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.12 Release
Component: documentation | Version: 2.9
Keywords: | State: Review
---------------------------+------------------------------------------------
Comment(by fredj):
Replying to [comment:3 bartvde]:
> Thanks for the patch fredj, the only thing I am wondering if it is
really null or undefined?
very good remark: for Renderer.Elements the return is 'undefined' but for
Renderer.SVG and Renderer.SVG2 the return is 'false' because of:
{{{
featureId = target.parentNode && target != this.rendererRoot &&
target.parentNode._featureId;
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/2708#comment:4>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list