mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Merge pull request #52 from NightHawk32/gps
Did some Work on the GPS Tab
This commit is contained in:
commit
7887560cb2
1 changed files with 7 additions and 7 deletions
|
@ -25,7 +25,7 @@ var map;
|
|||
function initialize() {
|
||||
var mapOptions = {
|
||||
zoom: 17,
|
||||
zoomControl: false,
|
||||
zoomControl: true,
|
||||
streetViewControl: false,
|
||||
// mapTypeId: google.maps.MapTypeId.SATELLITE,
|
||||
center: {lat: 53.570645, lng: 10.001362}
|
||||
|
@ -33,16 +33,16 @@ function initialize() {
|
|||
map = new google.maps.Map(document.getElementById('map-canvas'),
|
||||
mapOptions);
|
||||
|
||||
var image = {
|
||||
url: '../images/icons/cf_icon_position.png',
|
||||
scaledSize: new google.maps.Size(70, 70)
|
||||
};
|
||||
|
||||
var marker = new google.maps.Marker({
|
||||
icon : '../images/icons/cf_icon_position.png',
|
||||
icon : image,
|
||||
position: new google.maps.LatLng(53.570645, 10.001362),
|
||||
size: new google.maps.Size(10, 10),
|
||||
map:map
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// You can use a LatLng literal in place of a google.maps.LatLng object when
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue