Removed overviewerConfig.CONST.image.compass. It was unused
Closes #694
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user