public final class RightAndLefthandTraffic extends Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
RightAndLefthandTraffic.RLTrafficGeoProperty |
| Modifier and Type | Field and Description |
|---|---|
private static Collection<Area> |
leftHandTrafficPolygons |
private static GeoPropertyIndex<Boolean> |
rlCache |
| Modifier | Constructor and Description |
|---|---|
private |
RightAndLefthandTraffic() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
initialize() |
static boolean |
isRightHandTraffic(LatLon ll)
Check if there is right-hand traffic at a certain location.
|
private static volatile Collection<Area> leftHandTrafficPolygons
private static volatile GeoPropertyIndex<Boolean> rlCache
private RightAndLefthandTraffic()
public static boolean isRightHandTraffic(LatLon ll)
GeoPropertyIndex
as most look-ups are read-only.ll - the coordinates of the pointprivate static void initialize()