code: function(geometryModel) {
        if(geometryModel.isPoint()) {
          return new cdb.geo.leaflet.PointView(geometryModel);
        }
        return new cdb.geo.leaflet.PathView(geometryModel);
      }
docs: create the view for the geometry model