All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MapCameraUpdate.h
1 #pragma once
2 
3 #include "MapCamera.h"
4 #include "Types.h"
5 #include "PointOnMapCreateParams.h"
6 #include "LatLongAltitude.h"
7 #include "MapCameraPosition.h"
8 
9 namespace Eegeo
10 {
11  namespace Camera
12  {
13  namespace MapCamera
14  {
15  namespace MapCameraUpdateOperation
16  {
17  enum Type
18  {
19  PointOnMap,
20  MapCameraPosition,
21  LatLongBounds,
22  ZoomBy,
23  ZoomByWithRounding
24  };
25  };
27  {
28  public:
30  MapCameraUpdateOperation::Type mapCameraUpdateOperation,
31  const MapCameraPosition& mapCameraPosition,
32  const Space::LatLong& boundsNorthEast,
33  const Space::LatLong& boundsSouthWest,
34  double zoomLevel,
35  bool useZoomLevel,
36  double zoomBy,
37  bool modifyPointOnMap,
38  bool modifyBearing,
39  bool modifyZenithAngle,
40  bool modifyDistanceToInterest
41  );
42 
43  const MapCameraUpdateOperation::Type GetCameraUpdateOperation() const { return m_mapCameraUpdateOperation; }
44  const MapCameraPosition& GetMapCameraPosition() const { return m_mapCameraPosition; }
45  bool GetModifyPointOnMap() const { return m_modifyPointOnMap; }
46  bool GetModifyBearing() const { return m_modifyBearing; }
47  bool GetModifyZenithAngle() const { return m_modifyZenithAngle; }
48  bool GetModifyDistanceToInterest() const { return m_modifyDistanceToInterest; }
49  const Space::LatLong& GetBoundsNorthEast() const { return m_boundsNorthEast; }
50  const Space::LatLong& GetBoundsSouthWest() const { return m_boundsSouthWest; }
51  double GetZoomBy() const { return m_zoomBy;}
52  bool IsUseZoomLevel() const { return m_useZoomLevel; }
53  double GetZoomLevel() const { return m_zoomLevel;}
54 
55 
56  private:
57 
58  MapCameraPosition m_mapCameraPosition;
59  Space::LatLong m_boundsNorthEast;
60  Space::LatLong m_boundsSouthWest;
61  double m_zoomLevel;
62  bool m_useZoomLevel;
63  double m_zoomBy;
64  MapCameraUpdateOperation::Type m_mapCameraUpdateOperation;
65  bool m_modifyPointOnMap;
66  bool m_modifyBearing;
67  bool m_modifyZenithAngle;
68  bool m_modifyDistanceToInterest;
69  };
70 
71  }
72  }
73 }