Replace "map" by "this._map", thanks jbelien