KOSMIndoorMap

KOSMIndoorMap Namespace Reference

Namespaces

namespace  Localization
 

Classes

class  AbstractOverlaySource
 
class  AmenityModel
 
class  AmenitySortFilterProxyModel
 
class  Equipment
 
class  EquipmentModel
 
class  FloorLevelChangeModel
 
class  FloorLevelModel
 
struct  Gate
 
class  GateModel
 
class  HitDetector
 
class  LabelItem
 
class  LocationQueryOverlayProxyModel
 
class  MapCSSParser
 
class  MapCSSResult
 
class  MapCSSResultLayer
 
class  MapCSSStyle
 
class  MapData
 
class  MapItem
 
class  MapLevel
 
class  MapLoader
 
class  ModelOverlaySource
 
class  MultiPolygonItem
 
class  OSMAddress
 
class  OSMElement
 
class  OSMElementInformationModel
 
class  PainterRenderer
 
class  Platform
 
class  PlatformModel
 
class  PlatformSection
 
class  PolygonBaseItem
 
class  PolygonItem
 
class  PolylineItem
 
class  RealtimeEquipmentModel
 
class  SceneController
 
class  SceneGraph
 
class  SceneGraphItem
 
class  SceneGraphItemPayload
 
class  View
 

Typedefs

typedef QFlags< MapCSSElementStateMapCSSElementStates
 

Enumerations

enum class  MapCSSElementState { NoState = 0 , Active = 1 , Hovered = 2 }
 
enum class  MapCSSProperty {
  Unknown , ZIndex , Width , Color ,
  Opacity , Dashes , Image , LineCap ,
  LineJoin , CasingWidth , CasingColor , CasingOpacity ,
  CasingDashes , CasingLineCap , CasingLineJoin , FillColor ,
  FillOpacity , FillImage , IconImage , IconWidth ,
  IconHeight , IconOpacity , IconColor , IconAllowTextOverlap ,
  IconAllowIconOverlap , FontFamily , FontSize , FontWeight ,
  FontStyle , FontVariant , TextDecoration , TextTransform ,
  TextColor , TextOpacity , TextPosition , TextOffset ,
  MaxWidth , Text , TextHaloColor , TextHaloRadius ,
  ShieldColor , ShieldOpacity , ShieldFrameColor , ShieldFrameWidth ,
  ShieldCasingColor , ShieldCasingWidth , ShieldText , ShieldImage ,
  ShieldShape , Extrude
}
 
enum class  Unit : uint8_t { Pixel , Meter }
 

Variables

static constexpr const ValueMapEntry amenity_map []
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   const KLazyLocalizedString   KOSMIndoorMap::label 
 
authentication_type_map [] 
 
static constexpr const ValueMapEntry available_vehicles_map []
 
static constexpr const ValueMapEntry bicycle_parking_map []
 
static constexpr const ValueMapEntry cuisine_map []
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   const KLazyLocalizedString   KOSMIndoorMap::label 
 
diet_type_map [] 
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   const KLazyLocalizedString   KOSMIndoorMap::label 
 
gender_type_map [] 
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   OSMElementInformationModel::Key   KOSMIndoorMap::m_key 
 
payment_generic_type_map [] 
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   const KLazyLocalizedString   KOSMIndoorMap::label 
 
   OSMElementInformationModel::Key   KOSMIndoorMap::m_key 
 
payment_type_map [] 
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   const KLazyLocalizedString   KOSMIndoorMap::label 
 
socket_type_map [] 
 
struct { 
 
   const char *   KOSMIndoorMap::keyName 
 
   const KLazyLocalizedString   KOSMIndoorMap::label 
 
tactile_writing_map [] 
 
static constexpr const ValueMapEntry wheelchair_map []
 

Detailed Description

OSM-based multi-floor indoor maps for buildings.

Typedef Documentation

◆ MapCSSElementStates

Enumeration Type Documentation

◆ MapCSSElementState

Element states accessible via pseudo-classes.

Enumerator
Hovered 

element is selected

Definition at line 14 of file mapcsselementstate.h.

◆ MapCSSProperty

enum class KOSMIndoorMap::MapCSSProperty
strong

Known properties in MapCSS declarations.

Enumerator
Width 

z-order

Color 

line width

Opacity 

line color

Dashes 

line opacity

Image 

line dash pattern

LineCap 

fill image for the line

LineJoin 

line end cap style: none (default), round, square

CasingWidth 

line join style: round (default), miter, bevel

CasingColor 

line casing width

CasingOpacity 

line casing color

CasingDashes 

line casing opacity

CasingLineCap 

line casing dash pattern

CasingLineJoin 

line casing end cap

FillColor 

line casing join style

FillOpacity 

area fill color

FillImage 

area fill opacity

IconImage 

image to fill the area with

IconWidth 

URL to the icon image.

IconHeight 

icon width

IconOpacity 

icon height

IconColor 

icon opacity

IconAllowTextOverlap 

for colorized SVGs, non-standard extension

IconAllowIconOverlap 

the equivalent to CartoCSS's allow-overlap, non-standard extension

FontFamily 

the equivalent to CartoCSS's ignore-placement, non-standard extension

FontSize 

font name

FontWeight 

font size

FontStyle 

font weight: bold or normal (default)

FontVariant 

italic or normal (default)

TextDecoration 

small-caps or normal (default)

TextTransform 

none (default) or underline

TextColor 

none (default), uppercase, lowercase or capitalize

TextOpacity 

text color used for the label

TextPosition 

text opacity

TextOffset 

line or center

MaxWidth 

vertical offset from the center of the way or point

Text 

maximum width before wrapping

TextHaloColor 

label content

TextHaloRadius 

text halo color

ShieldColor 

text halo radius

ShieldOpacity 

shield color

ShieldFrameColor 

shield opacity

ShieldFrameWidth 

shield frame color

ShieldCasingColor 

shield frame width (0 to disable)

ShieldCasingWidth 

shield casing color

ShieldText 

shield casing width

ShieldImage 

text to render on the shield

ShieldShape 

background image of the shield

Extrude 

rounded or rectangular

Definition at line 12 of file mapcssproperty.h.

◆ Unit

enum class KOSMIndoorMap::Unit : uint8_t
strong

Unit for geometry sizes.

Definition at line 33 of file scenegraphitem.h.

Variable Documentation

◆ amenity_map

constexpr const ValueMapEntry KOSMIndoorMap::amenity_map[]
staticconstexpr

Definition at line 19 of file localization_data.cpp.

◆ [struct]

struct { ... } KOSMIndoorMap::authentication_type_map[]
Initial value:
= {
{ "authentication:app", kli18nc("OSM::charging_station_authentication", "app") },
{ "authentication:membership_card", kli18nc("OSM::charging_station_authentication", "membership card") },
{ "authentication:nfc", kli18nc("OSM::charging_station_authentication", "NFC") },
{ "authentication:none", kli18nc("OSM::charging_station_authentication", "none") },
{ "authentication:phone_call", kli18nc("OSM::charging_station_authentication", "phone call") },
{ "authentication:short_message", kli18nc("OSM::charging_station_authentication", "SMS") },
}

◆ available_vehicles_map

constexpr const ValueMapEntry KOSMIndoorMap::available_vehicles_map[]
staticconstexpr
Initial value:
= {
{ "mx:realtime_available:bike", kli18ncp("available rental vehicles", "%1 bike", "%1 bikes") },
{ "mx:realtime_available:pedelec", kli18ncp("available rental vehicles", "%1 pedelec", "%1 pedelecs") },
{ "mx:realtime_available:scooter", kli18ncp("available rental vehicles", "%1 kick scooter", "%1 kick scooters") },
{ "mx:realtime_available:motorcycle", kli18ncp("available rental vehicles", "%1 moped", "%1 mopeds") },
{ "mx:realtime_available:car", kli18ncp("available rental vehicles", "%1 car", "%1 cars") },
}

Definition at line 132 of file osmelementinformationmodel_data.cpp.

◆ bicycle_parking_map

constexpr const ValueMapEntry KOSMIndoorMap::bicycle_parking_map[]
staticconstexpr
Initial value:
= {
{ "anchors", kli18nc("OSM::bicycle_parking", "anchors") },
{ "bollard", kli18nc("OSM::bicycle_parking", "bollard") },
{ "building", kli18nc("OSM::bicycle_parking", "building") },
{ "ground_slots", kli18nc("OSM::bicycle_parking", "ground slots") },
{ "lockers", kli18nc("OSM::bicycle_parking", "lockers") },
{ "racks", kli18nc("OSM::bicycle_parking", "racks") },
{ "shed", kli18nc("OSM::bicycle_parking", "shed") },
{ "stands", kli18nc("OSM::bicycle_parking", "stands") },
{ "wall_loops", kli18nc("OSM::bicycle_parking", "wall loops") },
{ "wide_stands", kli18nc("OSM::bicycle_parking", "wide stands") },
}

Definition at line 116 of file osmelementinformationmodel_data.cpp.

◆ cuisine_map

constexpr const ValueMapEntry KOSMIndoorMap::cuisine_map[]
staticconstexpr

Definition at line 235 of file localization_data.cpp.

◆ [struct]

struct { ... } KOSMIndoorMap::diet_type_map[]
Initial value:
= {
{ "diet:gluten_free", kli18nc("OSM::diet_type", "gluten free") },
{ "diet:halal", kli18nc("OSM::diet_type", "halal") },
{ "diet:kosher", kli18nc("OSM::diet_type", "kosher") },
{ "diet:lactose_free", kli18nc("OSM::diet_type", "lactose free") },
{ "diet:vegan", kli18nc("OSM::diet_type", "vegan") },
{ "diet:vegetarian", kli18nc("OSM::diet_type", "vegetarian") },
}

◆ [struct]

struct { ... } KOSMIndoorMap::gender_type_map[]
Initial value:
= {
{ "female", kli18nc("OSM::gender_segregation", "female") },
{ "male", kli18nc("OSM::gender_segregation", "male") },
{ "unisex", kli18nc("OSM::gender_segregation", "unisex") },
}

◆ keyName

const char* KOSMIndoorMap::keyName

Definition at line 16 of file osmelementinformationmodel_data.cpp.

◆ label

const KLazyLocalizedString KOSMIndoorMap::label

Definition at line 17 of file osmelementinformationmodel_data.cpp.

◆ m_key

OSMElementInformationModel::Key KOSMIndoorMap::m_key

Definition at line 34 of file osmelementinformationmodel_data.cpp.

◆ [struct]

struct { ... } KOSMIndoorMap::payment_generic_type_map[]
Initial value:
= {
{ "payment:account_cards", OSMElementInformationModel::PaymentDebitCard },
{ "payment:credit_cards", OSMElementInformationModel::PaymentCreditCard },
{ "payment:debit_cards", OSMElementInformationModel::PaymentDebitCard },
{ "payment:electronic_purses", OSMElementInformationModel::PaymentStoredValueCard },
}

◆ [struct]

struct { ... } KOSMIndoorMap::payment_type_map[]
Initial value:
= {
{ "payment:american_express", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "American Express") },
{ "payment:apple_pay", OSMElementInformationModel::PaymentDigital, kli18nc("OSM::payment_method", "Apple Pay") },
{ "payment:diners_club", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "Diners Club") },
{ "payment:discover_card", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "Discover Card") },
{ "payment:jcb", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "JCB") },
{ "payment:girocard", OSMElementInformationModel::PaymentDebitCard, kli18nc("OSM::payment_method", "Girocard") },
{ "payment:google_pay", OSMElementInformationModel::PaymentDigital, kli18nc("OSM::payment_method", "Google Pay") },
{ "payment:maestro", OSMElementInformationModel::PaymentDebitCard, kli18nc("OSM::payment_method", "Maestro") },
{ "payment:mastercard", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "Mastercard") },
{ "payment:unionpay", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "UnionPay") },
{ "payment:v_pay", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "V Pay") },
{ "payment:vpay", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "V Pay") },
{ "payment:visa", OSMElementInformationModel::PaymentCreditCard, kli18nc("OSM::payment_method", "Visa") },
}

◆ [struct]

struct { ... } KOSMIndoorMap::socket_type_map[]
Initial value:
= {
{ "socket:chademo", kli18nc("OSM::charging_station_socket", "Chademo") },
{ "socket:schuko", kli18nc("OSM::charging_station_socket", "Schuko") },
{ "socket:tesla_standard", kli18nc("OSM::charging_station_socket", "Tesla") },
{ "socket:tesla_supercharger", kli18nc("OSM::charging_station_socket", "Tesla Supercharger") },
{ "socket:tesla_supercharger_ccs", kli18nc("OSM::charging_station_socket", "Tesla Supercharger CCS") },
{ "socket:type2", kli18nc("OSM::charging_station_socket", "Type 2") },
{ "socket:type2_cable", kli18nc("OSM::charging_station_socket", "Type 2 cable") },
{ "socket:type2_combo", kli18nc("OSM::charging_station_socket", "Type 2 CCS") },
{ "socket:typee", kli18nc("OSM::charging_station_socket", "Type E") },
}

◆ [struct]

struct { ... } KOSMIndoorMap::tactile_writing_map[]
Initial value:
= {
{ "tactile_writing:braille", kli18nc("tactile writing", "braille") },
{ "tactile_writing:embossed_printed_letters", kli18nc("tactile writing", "embossed printed letters") },
{ "tactile_writing:engraved_printed_letters", kli18nc("tactile writing", "engraved printed letters") },
}

◆ wheelchair_map

constexpr const ValueMapEntry KOSMIndoorMap::wheelchair_map[]
staticconstexpr
Initial value:
= {
{ "limited", kli18nc("OSM::wheelchair_access", "limited") },
{ "no", kli18nc("OSM::wheelchair_access", "no") },
{ "yes", kli18nc("OSM::wheelchair_access", "yes") },
}

Definition at line 70 of file osmelementinformationmodel_data.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:03 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.