How do I add waze incident markers to a google maps javascript API-generated map with traffic? -


i created map showing traffic google maps javascript api using trafficlayer object. googlmaps.com-generated map of same area displays waze incident icons, not show on map. there way include incident markers when generating traffic map? here code:

<script>   var map;   function initmap() {     map = new google.maps.map(document.getelementbyid('map'), {       center: {lat: 37.794086, lng: -122.400445},       zoom: 12     });     var trafficlayer = new google.maps.trafficlayer();     trafficlayer.setmap(map);   }  </script> <script src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxx&callback=initmap" async defer></script> 

at present impossible add layer incidents / constructions markers on google traffic map.

discussion on topic takes place since 2010 , available on site: https://code.google.com/p/gmaps-api-issues/issues/detail?id=2411

it remains wait response of google developers.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -