Skip to content

Commit 9d8d28f

Browse files
authored
OverviewMap (#424)
* Adding OverviewMap C++/QML/Widget implementation.
1 parent 8e7fb22 commit 9d8d28f

File tree

18 files changed

+1018
-9
lines changed

18 files changed

+1018
-9
lines changed

uitools/common.pri

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ HEADERS += $$CPPPATH/AuthenticationController.h \
3131
$$CPPPATH/Internal/GeoViews.h \
3232
$$CPPPATH/Internal/MetaElement.h \
3333
$$CPPPATH/NorthArrowController.h \
34+
$$CPPPATH/OverviewMapController.h \
3435
$$CPPPATH/PopupViewController.h \
3536
$$CPPPATH/TimeSliderController.h
3637

@@ -47,5 +48,6 @@ SOURCES += $$CPPPATH/AuthenticationController.cpp \
4748
$$CPPPATH/Internal/GenericTableProxyModel.cpp \
4849
$$CPPPATH/Internal/MetaElement.cpp \
4950
$$CPPPATH/NorthArrowController.cpp \
51+
$$CPPPATH/OverviewMapController.cpp \
5052
$$CPPPATH/PopupViewController.cpp \
5153
$$CPPPATH/TimeSliderController.cpp

uitools/cpp/Esri/ArcGISRuntime/Toolkit/BasemapGalleryItem.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
// ArcGISRuntime headers
2323
#include <Basemap.h>
2424

25+
#ifdef CPP_ARCGISRUNTIME_TOOLKIT
2526
// Qt headers
2627
#include <QQmlContext>
28+
#endif // CPP_ARCGISRUNTIME_TOOLKIT
2729

2830
namespace Esri {
2931
namespace ArcGISRuntime {

uitools/cpp/Esri/ArcGISRuntime/Toolkit/Internal/GeoViews.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ namespace ArcGISRuntime
2727
{
2828
namespace Toolkit
2929
{
30-
typedef SceneGraphicsView SceneViewToolkit;
31-
typedef MapGraphicsView MapViewToolkit;
30+
using SceneViewToolkit = SceneGraphicsView;
31+
using MapViewToolkit = MapGraphicsView;
3232
} // Toolkit
3333
} // ArcGISRuntime
3434
} // Esri
@@ -44,8 +44,8 @@ namespace ArcGISRuntime
4444
{
4545
namespace Toolkit
4646
{
47-
typedef SceneQuickView SceneViewToolkit;
48-
typedef MapQuickView MapViewToolkit;
47+
using SceneViewToolkit = SceneQuickView;
48+
using MapViewToolkit = MapQuickView;
4949
} // Toolkit
5050
} // ArcGISRuntime
5151
} // Esri

0 commit comments

Comments
 (0)