andyhill Posted January 25, 2018 Share Posted January 25, 2018 I place multiple circles over a course of time on a Google Map (using various events). Within a new event, how can I remove the LAST circle drawn and at the same time preserve all of the other circles ? Any help would be appreciated - thanks. // Draw Circle UniSession.AddJS('var gm = googleMap; '+ 'if (typeof gm == "object") '+ '{ '+ ' var myLatLng = {lat: '+LatStr+', lng: '+LngStr+'}; '+ ' var circle = new google.maps.Circle '+ ' ( '+ ' { '+ ' strokeColor: ''#0000FF'', '+ ' strokeOpacity: 0.8, '+ ' strokeWeight: 2, '+ ' fillColor: ''#FF0000'', '+ ' fillOpacity: 1.00, '+ ' map: gm, '+ ' center: myLatLng, '+ ' radius: 10 '+ ' } '+ ' ); '+ '} ' ); Link to comment Share on other sites More sharing options...
Sherzod Posted January 26, 2018 Share Posted January 26, 2018 Hi, It seems a similar question: http://forums.unigui.com/index.php?/topic/7102-google-maps-with-pin/page-2&do=findComment&comment=36860 Best regards, Link to comment Share on other sites More sharing options...
Recommended Posts