()
| 162 | } |
| 163 | |
| 164 | reset_drawing_controls() { |
| 165 | // Properties useful in drawing the map |
| 166 | this.prev_x = 0; |
| 167 | this.prev_y = -1; |
| 168 | this.y_direction = 1; // for y direction 1 means going to the right |
| 169 | this.x_direction = 1; // for x direction 1 means going down |
| 170 | this.group_iter = 1; |
| 171 | } |
| 172 | |
| 173 | create_listeners() { |
| 174 | this.listenTo(this.model, 'change:scales', this.create_scale_views); |