I have the following code :
<script type="text/javascript">
google.load("maps", "2.x");
// Call this function when the page has been loaded
function initialize() {
var map = new google.maps.Map2(document.getElementById("map"));
//map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
map.setCenter(new google.maps.LatLng(51.51486, -0.08253), 17);
map.setMapType(G_SATELLITE_MAP);
/*var point = new GLatLng(51.51486,
-0.08253);
var marker = createMarker(point);
map.addOverlay(marker);*/
var point = new GLatLng(51.51475, -0.08356);
map.addOverlay(new GMarker(point));
/*var svOverlay = new GStreetviewOverlay();
map.addOverlay(svOverlay);*/
var GTrafficOverlay = new GTrafficOverlay();
map.addOverlay(GTrafficOverlay.show());
}
google.setOnLoadCallback(initialize);
</script>
My map displays nice and fine but it's missing labels on the streets
and nearby stations.
Can anyone direct me on how to accomplish lableing? It's the sort of
thing you will see when you enter an address in http://maps.google.co.uk/
.
How do I get the subtle yellow highlights along the streets etc.
Thanks for your help
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.