fix shared_from_this in geomap