Help with R script for button

I have created a map which uses the GreatCircleDistance function to show only markers within a certain distance of the marked marker using the guide found at https://www.tibco.com/blog/2015/05/28/spotfire-tips-tricks-visualizing-the-radius-around-a-point-on-a-map/ but I would like to inlclude a button similar to the Recenter button, except it would clear the center from the map, essentially resetting the map to the initial state before a center for the circle is selected.

Can anyone tell me what the script for this would be? I am not experiences in R script and havent found a way to do so.

Thanks!

(1) Answer

Login