I see Google Maps support geojson. Looking at the docs here: https://developers.google.com/maps/documentation/javascript/datalayer#load_geojson
Given the last exampl
This worked for me:
map.data.forEach(function(feature) { // filter... map.data.remove(feature); });