Answer the question
In order to leave comments, you need to log in
How to remove traffic jams?
brothers ,
tell me
how to remove traffic jams in google map api
, I call them like this
function trafficCar() {
var trafficLayer = new google.maps.TrafficLayer();
trafficLayer.setMap(map);
}
Answer the question
In order to leave comments, you need to log in
trafficLayer.setMap(null);
trafficLayer only needs to be declared globally
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question