 |
|
BaselScript |
Beschreibung
Ort zeigen
Befehl:
call google=show lat=latitude_value lng=longitude_value [zoom = zoom_value]
zoom_value = 1 - 21
e.g.
#lat = 49.45876
#lng = 8.45879
#zoom= 10
call google=show lat=#lat lng=#lng zoom=#zoom
Script example:
scene = 1 name="show place" bgcolor =gray
section init
call dialog= dia
end section
dialog dia
tile=title text="Please enter coordinats"
tile = input name = #lat hint = "latitude"
tile = input name = #lng hint = "longitude"
tile = input name = #z hint = "zoom"
tile = button text = show section = map
tile = button text = x section = back
end dialog
section map
call google=show lng=#lng lon=#lon zoom = #z
end section
section back
call script=map_menu
end section
end scene 1