Is it currently possible to have the click behavior of an overlay layer as a link to a node? I have several nodes (polylines) displayed on an aggregate node map with WKT Location, and would like to be able to click each node feature on the map and zoom to the respective node page. Right now the only solution i've found is enabling Popups, which when displayed provide a link to the node. It's an extra click that I want to get rid of.

Comments

zzolo’s picture

Hi @meta_man, there is nothing built into the module to do that. It's a hard case because its not really built into the OL library, and abstracting out where to link to is a bit of the pain. But if you come up with a abstracted behavior, I would be happy to put into the module.

As far as actually writing one, you should look at the tooltip or popup behaviors in the module for good ecample.

ken-g’s picture

Issue summary: View changes
Status: Active » Closed (outdated)