Added scale to map closes #30

pull/73/head
jonsowman 2010-05-31 23:46:11 +01:00
rodzic 2ffc36d4ea
commit 29d519535e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -34,6 +34,8 @@ function initialize() {
var latlng = new google.maps.LatLng(52, 0); var latlng = new google.maps.LatLng(52, 0);
var myOptions = { var myOptions = {
zoom: 8, zoom: 8,
scaleControl: true,
scaleControlOptions: { position: google.maps.ControlPosition.BOTTOM_LEFT } ,
center: latlng, center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP mapTypeId: google.maps.MapTypeId.ROADMAP
}; };