February 17, 2018 at 2:16 am #34799
I have a site where I’m using polygons for state shapes and I wanted the polygons to show different corresponding data depending on the state that’s currently hovered over.
What I’ve done to make this work:
I’ve added: https://gist.github.com/KZeni/e98c464c62172f9d1c287a0750570e24
right after the: https://gist.github.com/KZeni/eccf510c5aff287e9422bbc437110c61
function in the js/core.js file (which is then minified for the version that’s served publicly).
This made it so hovering over each of the polygons had the corresponding Tabby Responsive Tab (3rd party plugin) toggled to show its relevant data.
I realize my implementation here is rather specific to my use case, but I’d think that there could be some way to have it so a hook / function is available for other developers to tap into for augmenting behaviors like this without needing to create custom edits to the core.js files of the plugin. That is, unless this is already possible and I’m just not looking at the right spot, of course!
Thanks for the great plugin!February 18, 2018 at 10:37 am #34808SupportTeamModerator
Thank you for your kind words and time. We’ll look through your code and may use it in future release. Please note that we’re working on new plugin release v7 with tone of new features which should be released soon.
Thank you for your time in this.
JarekFebruary 19, 2018 at 6:55 pm #34852
Thanks!April 10, 2018 at 1:33 am #36449
Okay, version 7 is out. Just want to give this another mention for potential inclusion in the new version’s codebase (didn’t see it listed anywhere on https://trello.com/b/Brsxoyzo/wp-google-maps).April 10, 2018 at 10:21 am #36467SupportTeamModerator
We’ve added a lot of features in our new plugin release and missed this feature. I’m sorry for this. We’ll take a look again at your work and discuss it if we can implement it to our V7 version.
Thank you for your time.
- You must be logged in to reply to this topic.