Map is terrain view by default closes #31
rodzic
29d519535e
commit
3d2af0121c
|
@ -36,11 +36,11 @@ function initialize() {
|
||||||
zoom: 8,
|
zoom: 8,
|
||||||
scaleControl: true,
|
scaleControl: true,
|
||||||
scaleControlOptions: { position: google.maps.ControlPosition.BOTTOM_LEFT } ,
|
scaleControlOptions: { position: google.maps.ControlPosition.BOTTOM_LEFT } ,
|
||||||
|
mapTypeId: google.maps.MapTypeId.TERRAIN,
|
||||||
center: latlng,
|
center: latlng,
|
||||||
mapTypeId: google.maps.MapTypeId.ROADMAP
|
|
||||||
};
|
};
|
||||||
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
|
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
|
||||||
// submit the form here
|
// attach form submit event handler to launch card
|
||||||
$("#modelForm").ajaxForm({
|
$("#modelForm").ajaxForm({
|
||||||
url: 'ajax.php?action=submitForm',
|
url: 'ajax.php?action=submitForm',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
|
Ładowanie…
Reference in New Issue