You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps more a feature request, but I'd like/expected the ability to have an Rpopup onClick event. (even though typescript seems to accept the onClick as valid, it won't get triggered)
Neither will any child element components of the RPopup allow any interaction, mainly due to afaik the .ol-overlaycontainer-stopevent classname on the overlay...
What happens now is that clicking on a RPopup triggers the RMap onClick..
The RFeature does take an onClick event, however, this is just to open the RPopup ( <RPopup trigger="click" ... )
Perhaps I should use ROverlay instead, but i'd expect a popup element to work the same, especially when it has the option of trigger="click", AND the docs do say it extends Overlay (https://mmomtchev.github.io/rlayers/api/#rpopup)
The text was updated successfully, but these errors were encountered:
RPopup is an ROverlay with a custom click handler, you can use ROverlay in this case.
Although something may be possible with RPopup I can not currently invest the time and electricity to do it. I have been living in my van in freezing temperatures because I was evicted from my home as part of the extortion in which the big names in the geospatial data industry agreed to take part. Making new versions is much more difficult now.
Perhaps more a feature request, but I'd like/expected the ability to have an Rpopup onClick event. (even though typescript seems to accept the onClick as valid, it won't get triggered)
Neither will any child element components of the
RPopup
allow any interaction, mainly due to afaik the.ol-overlaycontainer-stopevent
classname on the overlay...What happens now is that clicking on a
RPopup
triggers theRMap
onClick..I'm taking from the example: https://mmomtchev.github.io/rlayers/#/popups
The
RFeature
does take an onClick event, however, this is just to open theRPopup
(<RPopup trigger="click" ...
)Perhaps I should use
ROverlay
instead, but i'd expect a popup element to work the same, especially when it has the option oftrigger="click"
, AND the docs do say it extends Overlay (https://mmomtchev.github.io/rlayers/api/#rpopup)The text was updated successfully, but these errors were encountered: