Added scale to map closes #30
rodzic
2ffc36d4ea
commit
29d519535e
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue