Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsOSMWay Class Reference

Open Street Map way element class. More...

Inheritance diagram for OnlineMapsOSMWay:
OnlineMapsOSMBase

Public Member Functions

 OnlineMapsOSMWay (OnlineMapsXML node)
 Constructor.
 
List< OnlineMapsOSMNodeGetNodes (List< OnlineMapsOSMNode > nodes)
 Returns a list of nodes related to that way.
 
List< OnlineMapsOSMNodeGetNodes (Dictionary< string, OnlineMapsOSMNode > nodes)
 Returns a list of nodes related to that way.
 
void GetNodes (Dictionary< string, OnlineMapsOSMNode > nodes, List< OnlineMapsOSMNode > usedNodes)
 Gets a list of nodes related to that way.
 
- Public Member Functions inherited from OnlineMapsOSMBase
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.
 

Properties

List< string > nodeRefs [get, set]
 List of node id;.
 

Additional Inherited Members

- Public Attributes inherited from OnlineMapsOSMBase
string id
 Element ID.
 
List< OnlineMapsOSMTagtags
 Element tags.
 

Detailed Description

Open Street Map way element class.

Constructor & Destructor Documentation

◆ OnlineMapsOSMWay()

OnlineMapsOSMWay.OnlineMapsOSMWay ( OnlineMapsXML node)

Constructor.

Parameters
nodeNode

Member Function Documentation

◆ GetNodes() [1/3]

List< OnlineMapsOSMNode > OnlineMapsOSMWay.GetNodes ( Dictionary< string, OnlineMapsOSMNode > nodes)

Returns a list of nodes related to that way.

Parameters
nodesGeneral dictionary of nodes
Returns
List of nodes related to that way

◆ GetNodes() [2/3]

void OnlineMapsOSMWay.GetNodes ( Dictionary< string, OnlineMapsOSMNode > nodes,
List< OnlineMapsOSMNode > usedNodes )

Gets a list of nodes related to that way.

Parameters
nodesGeneral dictionary of nodes
usedNodesList of nodes related to that way

◆ GetNodes() [3/3]

List< OnlineMapsOSMNode > OnlineMapsOSMWay.GetNodes ( List< OnlineMapsOSMNode > nodes)

Returns a list of nodes related to that way.

Parameters
nodesGeneral list of nodes
Returns
List of nodes related to that way