Dear tata, you wrote:
Dear hhamedk, I don't see the difference in traffic on your screenshots. We use Google API that is available on their sources, and we don't have an impact on data they allow others to use.
You're right! There is no difference between traffic data in these screenshots but we faced it some times and it's really hard to find an example and provide you screenshot about that, but we will try and will give you some examples. It's strange and I understand, we also confused as we know you use Google API!
and also :
Our developer checked the traffic request and found no options for sending to define do we want to see any marks on roads. So we show what we can.
I don't get you, please explain.
Google MAP JavaScript API documentation didn't mention any special requirement for Traffic Incident Symbols or doesn't have any special part for themt and introduced them as a part of traffic layer. Even with a simple HTML example from it's documentation (like below) and a valid API key you will get traffic layer including Traffic Incident Symbols.
<!DOCTYPE html>
<html>
<head>
<title>Simple Map</title>
<meta name="viewport" content="initial-scale=1.0">
<meta charset="utf-8">
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
height: 100%;
}
/* Optional: Makes the sample page fill the window. */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
var map;
function initMap() {
map = new google.maps.Map(document.getElementById('map'), {
center: {lat: -34.397, lng: 150.644},
zoom: 8
});
var trafficLayer = new google.maps.TrafficLayer();
trafficLayer.setMap(map);
}
</script>
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"
async defer></script>
</body>
</html>
Please let me know what's the problem that we can't get these important signs together with traffic layer.