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?)
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.
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 http://www.pittss.lv/jquery/gomap/examples/marker_showhide.php
Thanks in advance for any instruction on if this is possible with Terratype.
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.
Cheers
Jonathan
is working on a reply...