renamed all POI/point of intrest to marker

This commit is contained in:
AdenKoperczak 2024-10-04 19:31:47 -04:00
parent cd16902635
commit 31940441ed
11 changed files with 153 additions and 157 deletions

View file

@ -12,7 +12,7 @@
#include <scwx/qt/map/overlay_layer.hpp>
#include <scwx/qt/map/overlay_product_layer.hpp>
#include <scwx/qt/map/placefile_layer.hpp>
#include <scwx/qt/map/poi_layer.hpp>
#include <scwx/qt/map/marker_layer.hpp>
#include <scwx/qt/map/radar_product_layer.hpp>
#include <scwx/qt/map/radar_range_layer.hpp>
#include <scwx/qt/map/radar_site_layer.hpp>
@ -82,7 +82,7 @@ public:
radarProductLayer_ {nullptr},
overlayLayer_ {nullptr},
placefileLayer_ {nullptr},
poiLayer_ {nullptr},
markerLayer_ {nullptr},
colorTableLayer_ {nullptr},
autoRefreshEnabled_ {true},
autoUpdateEnabled_ {true},
@ -225,7 +225,7 @@ public:
std::shared_ptr<OverlayLayer> overlayLayer_;
std::shared_ptr<OverlayProductLayer> overlayProductLayer_ {nullptr};
std::shared_ptr<PlacefileLayer> placefileLayer_;
std::shared_ptr<POILayer> poiLayer_;
std::shared_ptr<MarkerLayer> markerLayer_;
std::shared_ptr<ColorTableLayer> colorTableLayer_;
std::shared_ptr<RadarSiteLayer> radarSiteLayer_ {nullptr};
@ -1236,9 +1236,9 @@ void MapWidgetImpl::AddLayer(types::LayerType type,
break;
// Create the radar site layer
case types::InformationLayer::POILayer:
poiLayer_ = std::make_shared<POILayer>(context_);
AddLayer(layerName, poiLayer_, before);
case types::InformationLayer::Markers:
markerLayer_ = std::make_shared<MarkerLayer>(context_);
AddLayer(layerName, markerLayer_, before);
break;
default: