0

Removed overviewerConfig.CONST.image.compass. It was unused

Closes #694
This commit is contained in:
Andrew Chin
2012-09-22 18:09:23 -04:00
parent dd345980a5
commit 4d0aa7e49e
2 changed files with 1 additions and 2 deletions

View File

@@ -91,7 +91,6 @@ directory.
'defaultMarker': 'signpost.png',
'signMarker': 'signpost_icon.png',
'bedMarker': 'bed.png',
'compass': 'compass_upper-left.png',
'spawnMarker': 'http://google-maps-icons.googlecode.com/files/home.png',
'queryMarker': 'http://google-maps-icons.googlecode.com/files/regroup.png'
}

View File

@@ -99,7 +99,7 @@ overviewer.views.CompassView = Backbone.View.extend({
initialize: function() {
this.el.index=0;
var compassImg = document.createElement('IMG');
compassImg.src = overviewerConfig.CONST.image.compass;
compassImg.src = ''; // this will be set properly in the render function (below)
this.el.appendChild(compassImg);
overviewer.map.controls[google.maps.ControlPosition.TOP_RIGHT].push(this.el);