[OpenLayers-Trac] [OpenLayers] #445: controls outside the map view port
OpenLayers
trac at openlayers.org
Wed Dec 13 11:40:46 EST 2006
#445: controls outside the map view port
----------------------+-----------------------------------------------------
Reporter: pgiraud | Owner: tschaub
Type: feature | Status: new
Priority: minor | Milestone: 2.3 Release
Component: Control | Version:
Resolution: | Keywords: review
----------------------+-----------------------------------------------------
Comment (by tschaub):
Ok, think we're settled. You can check for the existence of
this.div.parentNode in the control's draw method. If this node doesn't
exist, then the control is about to be added to the viewport. If the node
exists, you can assume that it is outside of the map's viewport.
--
Ticket URL: <http://trac.openlayers.org/ticket/445#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list