diff --git a/src/netedit/elements/GNEAttributeCarrier.cpp b/src/netedit/elements/GNEAttributeCarrier.cpp index 2c55b1e02837..9e16ad07a372 100644 --- a/src/netedit/elements/GNEAttributeCarrier.cpp +++ b/src/netedit/elements/GNEAttributeCarrier.cpp @@ -1875,7 +1875,7 @@ GNEAttributeCarrier::fillAdditionalElements() { "900.00"); myTagProperties[currentTag].addAttribute(attrProperty); - attrProperty = GNEAttributeProperties(SUMO_ATTR_PARKINGAREA, + attrProperty = GNEAttributeProperties(SUMO_ATTR_PARKING_AREA, GNEAttributeProperties::STRING | GNEAttributeProperties::UPDATEGEOMETRY, TL("Parking area the charging station is located")); myTagProperties[currentTag].addAttribute(attrProperty); diff --git a/src/netedit/elements/additional/GNEAdditionalHandler.cpp b/src/netedit/elements/additional/GNEAdditionalHandler.cpp index d18fbbbff8cc..1ed4817f886a 100644 --- a/src/netedit/elements/additional/GNEAdditionalHandler.cpp +++ b/src/netedit/elements/additional/GNEAdditionalHandler.cpp @@ -269,7 +269,7 @@ void GNEAdditionalHandler::buildChargingStation(const CommonXMLStructure::SumoBaseObject* sumoBaseObject, const std::string& id, const std::string& laneID, const double startPos, const double endPos, const std::string& name, const double chargingPower, const double efficiency, const bool chargeInTransit, const SUMOTime chargeDelay, const std::string& chargeType, - const SUMOTime waitingTime, const bool friendlyPosition, const Parameterised::Map& parameters) { + const SUMOTime waitingTime, const bool friendlyPosition, const std::string& parkingAreaID, const Parameterised::Map& parameters) { // check conditions if (!SUMOXMLDefinitions::isValidAdditionalID(id)) { writeInvalidID(SUMO_TAG_CHARGING_STATION, id); diff --git a/src/netedit/elements/additional/GNEAdditionalHandler.h b/src/netedit/elements/additional/GNEAdditionalHandler.h index 8357a1a19c22..75eac08953a2 100644 --- a/src/netedit/elements/additional/GNEAdditionalHandler.h +++ b/src/netedit/elements/additional/GNEAdditionalHandler.h @@ -137,7 +137,7 @@ class GNEAdditionalHandler : public AdditionalHandler { void buildChargingStation(const CommonXMLStructure::SumoBaseObject* sumoBaseObject, const std::string& id, const std::string& laneID, const double startPos, const double endPos, const std::string& name, const double chargingPower, const double efficiency, const bool chargeInTransit, const SUMOTime chargeDelay, const std::string& chargeType, - const SUMOTime waitingTime, const bool friendlyPosition, const Parameterised::Map& parameters); + const SUMOTime waitingTime, const bool friendlyPosition, const std::string& parkingAreaID, const Parameterised::Map& parameters); /**@brief Builds a Parking Area * @param[in] sumoBaseObject sumo base object used for build