5
I have this following code:
<script>
function init() {
var myLatlng = new google.maps.LatLng(34.04, -118.24);
var myOptions = {
zoom: 13,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById('map'), myOptions);
}
google.maps.event.addDomListener(window, 'load', init);
</script>
In which generates this map below in a div
any. I circled in red some places where I don’t want it to appear on the map. In fact, I wouldn’t want you to show any place on the map, just the pope with streets and highways:
Is it possible to remove all Google Maps bus sites and stops/stops? If so, what would be the most viable way to do this?
Bus stops/stops not removed =/
– viana
@acklay updated the fiddle in response, now hidden bus stops too, note that subway stations remain visible.
– Mathiasfc
@acklay I don’t really know if it’s a "good" way, but here reply, everything is hidden, later only the highways are displayed.
– Mathiasfc
Put what’s in Jsfiddle in your answer.
– viana