Now map.clear() doesn’t clear the data layer.
The data objects build up and up and . . then grounds to a halt after loading 20 different maps.
How can I clear the data layer?
And there’s no map.data.clear() method.
(I’m now using your overridestyle approach @alcampopiano , thanks)