1
0
Fork 0
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:
Albert Kravcov 2015-11-26 09:56:54 +01:00
commit 7887560cb2

View file

@ -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