Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Travis Schoening 47 posts 173 karma points
    Jul 27, 2017 @ 03:59
    Travis Schoening

    Show/Hide Marker Icons based on value

    Hi, I love TerraType! It's fantastic and doing everything I need pretty much.

    I'm able to get a map to display many icons (in my instance, based on numerous nodes that each have their own map/location). Is there a way for the main map displaying many to filter icons/markers by a value (for instance, each of my nodes has a category, when displaying many icons, is there a way to click on a link to only show a certain category?)

    Example basic functionality

    Thanks in advance for any instruction on if this is possible with Terratype.

  • Jonathan Richards 288 posts 1742 karma points MVP
    Jul 27, 2017 @ 10:07
    Jonathan Richards

    Hi Travis,

    Currently there is no functionality within Terratype to selectively switch on/off map icons. Some frontend entry points to write your own javascript to interact with the Terratype map has been asked for before, and I'm very keen to write something, it is on my roadmap of improvements.

    I suppose as a 'hack' to get around this lack of functionality, you could, if you only had a limited number of categories, render a map for each category and using your own code, hide/show the relevant map. So in effect all the maps exist in the rendered code, but only one is ever visible in the browser.



Please Sign in or register to post replies

Write your reply to: