added base class for own and friend locations. added new class for
[situare] / src / map / mapcommon.h
index f7e8f4f..fc06fce 100644 (file)
@@ -43,6 +43,7 @@ static const int MAP_ZOOM_PANEL_BUTTON_SIZE = 74; ///< Size of a zoom panel butt
 
 static const int MAP_OWN_LOCATION_ICON_SIZE = 24; ///< Size of own location item icon
 static const int OWN_LOCATION_ICON_Z_LEVEL = MAP_ZOOM_PANEL_LEVEL - 1; ///< Z-Level of own location icon
+const int FRIEND_LOCATION_ICON_Z_LEVEL = OWN_LOCATION_ICON_Z_LEVEL -1; ///< Z-Level of friend location icon
 
 const qreal MAX_LATITUDE = 85.05112877980659237802;  ///< Maximum latitude value
 const qreal MIN_LATITUDE = -MAX_LATITUDE; ///< Minimum latitude value