public List <TrafficItem> GetIncidents(double pos1Lat, double pos1Long) { var wrapper = new NokiaMapWrapper(); var result = wrapper.GetIncidents(pos1Lat, pos1Long); return(result.TrafficItem != null?result.TrafficItem.ToList() : new List <TrafficItem>()); }
/// <summary>The get route summary.</summary> /// <param name="pos1Lat">The pos 1 lat.</param> /// <param name="pos1Long">The pos 1 long.</param> /// <param name="pos2Lat">The pos 2 lat.</param> /// <param name="pos2Long">The pos 2 long.</param> /// <returns>The <see cref="Summary"/>.</returns> public RouteSummary GetRouteSummary(double pos1Lat, double pos1Long, double pos2Lat, double pos2Long, DateTime?departureTime = null) { // TODO Urgent - hour of day var wrapper = new NokiaMapWrapper(); return(wrapper.GetRouteSummary(pos1Lat, pos1Long, pos2Lat, pos2Long, departureTime)); }
public string GetRouteMapTileUrl( double startLatitude, double startLongitude, double endLatitude, double endLongitude, int?width = null, int?height = null) { var wrapper = new NokiaMapWrapper(); return(wrapper.GetRouteMapTileUrl(startLatitude, startLongitude, endLatitude, endLongitude, width, height)); }
public string GetMapTrafficTileUrl(double latitude, double longitude, int levelOfDetail = 11, DateTime?dt = null) { var wrapper = new NokiaMapWrapper(); return(wrapper.GetTrafficMapTileUrl(latitude, longitude, levelOfDetail, dt)); }
public string GetMapTileUrl(double latitude, double longitude, int levelOfDetail = 11) { var wrapper = new NokiaMapWrapper(); return(wrapper.GetMapTileUrl(latitude, longitude, levelOfDetail)); }