code: function PointView(geometryModel) {
    var self = this;
    // events to link
    var events = [
      'click',
      'dblclick',
      'mousedown',
      'mouseover',
      'mouseout',
      'dragstart',
      'drag',
      'dragend'
    ];
  
    this._eventHandlers = {};
    this.model = geometryModel;
    this.points = [];
  
    var icon = {
      iconUrl: this.model.get('iconUrl') || cdb.config.get('assets_url') + '/images/layout/default_marker.png',
      iconAnchor: this.model.get('iconAnchor') || [11, 11]
    };
  
    this.geom = L.GeoJSON.geometryToLayer(geometryModel.get('geojson'), function(geojson, latLng) {
        //TODO: create marker depending on the visualizacion options
        var p = L.marker(latLng, {
          icon: L.icon(icon)
        });
  
        var i;
        for(i = 0; i < events.length; ++i) {
          var e = events[i];
          p.on(e, self._eventHandler(e));
        }
        return p;
    });
  
    this.bind('dragend', function(e, pos) {
      geometryModel.set({
        geojson: {
          type: 'Point',
          //geojson is lng,lat
          coordinates: [pos[1], pos[0]]
        }
      });
    });
  }
docs: this module implements all the features related to overlay geometries
  in leaflet: markers, polygons, lines and so on
   
  view for markers