void MapPosition::setPosition(GeoPoint &gp) { double lat = gp.getLatitude(); double lon = gp.getLongitude(); this->setPosition(lat, lon); }