mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 17:25:16 +03:00
GPS marker resized
This commit is contained in:
parent
e6579a9fbe
commit
b5d0fd6290
1 changed files with 6 additions and 6 deletions
|
@ -33,16 +33,16 @@ function initialize() {
|
||||||
map = new google.maps.Map(document.getElementById('map-canvas'),
|
map = new google.maps.Map(document.getElementById('map-canvas'),
|
||||||
mapOptions);
|
mapOptions);
|
||||||
|
|
||||||
|
var image = {
|
||||||
|
url: '../images/icons/cf_icon_position.png',
|
||||||
|
scaledSize: new google.maps.Size(70, 70)
|
||||||
|
};
|
||||||
|
|
||||||
var marker = new google.maps.Marker({
|
var marker = new google.maps.Marker({
|
||||||
icon : '../images/icons/cf_icon_position.png',
|
icon : image,
|
||||||
position: new google.maps.LatLng(53.570645, 10.001362),
|
position: new google.maps.LatLng(53.570645, 10.001362),
|
||||||
size: new google.maps.Size(10, 10),
|
|
||||||
map:map
|
map:map
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// You can use a LatLng literal in place of a google.maps.LatLng object when
|
// 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