code: function PathView(geometryModel) {
    var self = this;
    // events to link
    var events = [
      'click',
      'dblclick',
      'mousedown',
      'mouseover',
      'mouseout',
    ];
  
    this._eventHandlers = {};
    this.model = geometryModel;
    this.points = [];
  
  
    this.geom = L.GeoJSON.geometryToLayer(geometryModel.get('geojson'));
    this.geom.setStyle(geometryModel.get('style'));
  
  
    /*for(var i = 0; i < events.length; ++i) {
      var e = events[i];
      this.geom.on(e, self._eventHandler(e));
    }*/
  
  }
docs: view for other geometries (polygons/lines)