Google maps V3 API highway visibility

256 Views Asked by At

I'm trying to build a kiosk application with vehicles as markers on a map. The zoom and centering is set automatically when the marker coordinates are loaded from the server (there's no user interaction). I'd like to see all the highways on the map (i.e. highways that the markers/vehicles are positioned/driving on), but Google maps decides which highways are visible at each zoom level.

Does anyone know of a way to force the display of all highways, or display the highways of zoom level 6 on zoom level 7, etc.?

I've tried: { "featureType": "road.highway", "elementType": "all", "stylers": [ { "visibility": "on" }, { "hue": "#ff0000" } ] } to no avail.

0

There are 0 best solutions below