[Qgis-user] how to trigger a qgis2web action

Stephen Sacks ssacks456 at gmail.com
Sat Aug 3 14:43:14 PDT 2024


I am using qgis2web (QGIS 3.34.9) to display a map of trees and shrubs 
in a public park.  A popup for each feature shows a  link to an HTML 
page that includes name and picture of that feature.  I would prefer to 
have a single mouse click take the user to that HTML page rather than 
requiring two clicks (popup and then link).  I wrote a Python  "action" 
that works on my desktop when I use the "Run feature action" tool, but I 
don't know how to trigger that action on the web.  An "open URL" action 
would also require that I know how to trigger an action.
   I'd appreciate any advice you can offer.
    Thanks.
          Steve
Here's the link: BrooklynProm.epizy.com (photos available only for 
gardens B and part of garden C)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240803/d2280735/attachment.htm>


More information about the QGIS-User mailing list