private string TranslateMapMode(StaticMapMode mode) { string mapType = string.Empty; switch (mode) { case StaticMapMode.Map: mapType = "map"; break; case StaticMapMode.Satellite: mapType = "sat"; break; case StaticMapMode.Hybrid: mapType = "hyb"; break; default: mapType = "map"; break; } return mapType; }
private string TranslateMapMode(StaticMapMode mode) { string mapType = string.Empty; switch (mode) { case StaticMapMode.Map: mapType = "Road"; break; case StaticMapMode.Satellite: mapType = "Aerial"; break; case StaticMapMode.Hybrid: mapType = "AerialWithLabels"; break; default: mapType = "Road"; break; } return mapType; }
public void Enqueue(int startPosID, int endPosID, int width, int height, StaticMapType type, StaticMapMode mode) { Enqueue(new Tuple <int, int, int, int, StaticMapType, StaticMapMode>(startPosID, endPosID, width, height, type, mode)); }