/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file POIIcons.cpp14/// @author Pablo Alvarez Lopez15/// @date Sep 202316///17// Function that returns the icon for a certain POIIcon18/****************************************************************************/1920#include "GUIIconSubSys.h"2122#include "POIIcons.h"2324// ===========================================================================25// member method definitions26// ===========================================================================2728FXIcon*29POIIcons::getPOIIcon(POIIcon iconType) {30switch (iconType) {31case POIIcon::PIN:32return GUIIconSubSys::getIcon(GUIIcon::POIICON_PIN);33case POIIcon::NATURE:34return GUIIconSubSys::getIcon(GUIIcon::POIICON_NATURE);35case POIIcon::HOTEL:36return GUIIconSubSys::getIcon(GUIIcon::POIICON_HOTEL);37case POIIcon::FUEL:38return GUIIconSubSys::getIcon(GUIIcon::POIICON_FUEL);39case POIIcon::CHARGING_STATION:40return GUIIconSubSys::getIcon(GUIIcon::POIICON_CHARGING_STATION);41case POIIcon::NONE:42return GUIIconSubSys::getIcon(GUIIcon::EMPTY);43default:44throw ProcessError("Invalid POIImage");45}46}4748/****************************************************************************/495051