Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsOSMBase Class Referenceabstract

The base class of Open Streen Map element. More...

Inheritance diagram for OnlineMapsOSMBase:
OnlineMapsOSMArea OnlineMapsOSMNode OnlineMapsOSMRelation OnlineMapsOSMWay

Public Member Functions

string GetTagValue (string key)
 Get tag value for the key.
 
bool HasTag (string key, string value)
 Checks for the tag with the specified key and value.
 
bool HasTagKey (params string[] keys)
 Checks for the tag with the specified keys.
 
bool HasTagValue (params string[] values)
 Checks for the tag with the specified values.
 
bool HasTags (string key, params string[] values)
 Checks for the tag with the specified key and values.
 

Public Attributes

string id
 Element ID.
 
List< OnlineMapsOSMTagtags
 Element tags.
 

Detailed Description

The base class of Open Streen Map element.

Member Function Documentation

◆ GetTagValue()

string OnlineMapsOSMBase.GetTagValue ( string key)

Get tag value for the key.

Parameters
keyTag key
Returns
Tag value

◆ HasTag()

bool OnlineMapsOSMBase.HasTag ( string key,
string value )

Checks for the tag with the specified key and value.

Parameters
keyTag key
valueTag value
Returns
True - if successful, False - otherwise.

◆ HasTagKey()

bool OnlineMapsOSMBase.HasTagKey ( params string[] keys)

Checks for the tag with the specified keys.

Parameters
keysTag keys.
Returns
True - if successful, False - otherwise.

◆ HasTags()

bool OnlineMapsOSMBase.HasTags ( string key,
params string[] values )

Checks for the tag with the specified key and values.

Parameters
keyTag key
valuesTag values
Returns
True - if successful, False - otherwise.

◆ HasTagValue()

bool OnlineMapsOSMBase.HasTagValue ( params string[] values)

Checks for the tag with the specified values.

Parameters
valuesTag values
Returns
True - if successful, False - otherwise.