Skip to content

Commit

Permalink
Merge branch 'master' of https://www.github.com/cyoung/stratux
Browse files Browse the repository at this point in the history
  • Loading branch information
cyoung committed Oct 21, 2015
2 parents 3e042a8 + 865ba68 commit 293d0e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions web/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
top: 0;
left: 0;
font-size: 18px;
color: white;
}

.section_invisible {
Expand Down
Binary file modified web/img/world.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion web/plates/gps.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="map-container">
<div id="map_display" class="world-map" ng-attr-style="background-position:{{map_pos_x + 'px ' + map_pos_y + 'px'}}; width:{{map_width}}px; height:{{map_height}}px;">
<div class="mark-position" ng-style="{left: map_mark_x+'px', top: map_mark_y+'px'}">
<span class="fa fa-crosshairs icon-white"></span>
<span class="fa fa-crosshairs"></span>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions web/plates/js/gps.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ function GPSCtrl($rootScope, $scope, $state, $http, $interval) {
function setGeoReferenceMap(la, lo) {
// Mercator projection
// var map = "img/world.png";
var map_width = 3929;
var map_height = 2184;
var map_zero_x = 1868;
var map_zero_y = 1412;
var map_width = 2530;
var map_height = 1603;
var map_zero_x = 1192;
var map_zero_y = 1124;
var font_size = 18; // size of font used for marker

sizeMap();
Expand Down

0 comments on commit 293d0e7

Please sign in to comment.