0

Work around IE issue.

This work around has the problem where the first tileset you view won't
have the 'signs' control
This commit is contained in:
Andrew Chin
2012-03-11 13:48:54 -04:00
parent 5b168ebdbd
commit a757be510a

View File

@@ -216,6 +216,9 @@ overviewer.views.SignControlView = Backbone.View.extend({
registerEvents: function(me) {
google.maps.event.addListener(overviewer.map, 'maptypeid_changed', function(event) {
overviewer.mapView.updateCurrentTileset();
// workaround IE issue. bah!
if (typeof markers=="undefined") { return; }
me.render();
// hide markers, if necessary
// for each markerSet, check: