TrafficRenderer Constructor (Traffic, DateTime, MapStyle, MapStyle) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Render the given
Traffic on a map object. The given
time is used to determine the traffic congestion.
Namespace:
Telogis.GeoBase.Traffic
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax public TrafficRenderer(
Traffic traff,
DateTime time,
MapStyle mapStyle,
MapStyle preTrafficMapStyle
)
Public Sub New (
traff As Traffic,
time As DateTime,
mapStyle As MapStyle,
preTrafficMapStyle As MapStyle
)
Parameters
- traff
- Type: Telogis.GeoBase.TrafficTraffic
The traffic to render. Traffic - time
- Type: SystemDateTime
The time in UTC at which the traffic congestion is to be calculated,
as a DateTime - mapStyle
- Type: Telogis.GeoBaseMapStyle
The style to use when rendering traffic. - preTrafficMapStyle
- Type: Telogis.GeoBaseMapStyle
The style to use to re-render streets before rendering the traffic. This can be used to
produce greyscale streets, ensuring the street colors are easily distinguishable from the traffic colors. If the style
provided has a parameter called PRE_TRAFFIC, then this parameter will be set to
true.
See Also