  public:
    explicit MapSettings(bool closeable = false, QWidget *parent = nullptr);
  
    void navigateTo(const QJsonObject &place);
    void parseResponse(const QString &response, bool success);
    void updateCurrentRoute();
  
  private:
    void mousePressEvent(QMouseEvent *ev) override;
    void showEvent(QShowEvent *event) override;
 
</s> remove   QString cur_destinations;
 </s> add   QJsonArray current_locations;
  QJsonObject current_destination; </s> remove 
  void set(NavDestination *, bool current = false);
 </s> add   void set(const QJsonObject &location, bool current = false); </s> remove   void locationsUpdated(const QString &response, bool success);
 </s> add   void locationsUpdated(const QJsonArray &locations);
  void updateLocations(const QJsonArray &locations);
  public:
    explicit MapSettings(bool closeable = false, QWidget *parent = nullptr);
  
    void navigateTo(const QJsonObject &place);
  void updateLocations(const QJsonArray &locations);
    void updateCurrentRoute();
  
  private:
    void mousePressEvent(QMouseEvent *ev) override;
    void showEvent(QShowEvent *event) override;
keep keep keep keep replace keep keep keep keep keep
 ui/MapSettings: sort location JsonArray inplace (#28886) 
selfdrive/ui/qt/maps/map_settings.h