Skip to content

reset method - defaultColor #100

Closed
llcool opened this Issue Sep 26, 2012 · 0 comments

2 participants

@llcool
llcool commented Sep 26, 2012

defaultColor is undefined.

  /**
   * Reset colors of the regions, show the map with the initial zoom.
   */
  reset: function() {
    var key;
    // countryTitle not valid LCB 25/09/2012
//    this.countryTitle.reset();
    for (key in this.regions) {
      this.regions[key].element.setStyle('fill', jvm.WorldMap.defaultColor);
    }
    this.scale = this.baseScale;
    this.transX = this.baseTransX;
    this.transY = this.baseTransY;
    this.applyTransform();
  },
@bjornd bjornd added a commit that referenced this issue Oct 1, 2012
@bjornd fix #99 #100 Fixed reset method 0ef09e3
@bjornd bjornd closed this Oct 1, 2012
@archer96 archer96 added a commit that referenced this issue Feb 1, 2013
@bjornd fix #99 #100 Fixed reset method 6f335f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.