Skip to content Skip to sidebar Skip to footer

Polyline Hide Not Working

By this code i can show and hide markers.. This code does not work with polylines. When page loading all lines automaticly loaded.. Can anyone suggest how to toggle polylines in g

Solution 1:

To toggle a polyline:

yourPolyLine.setMap(yourMap);
yourPolyLine.setMap(null);

Post a Comment for "Polyline Hide Not Working"