diff --git a/src/Google.Maps/StaticMaps/StaticMapRequest.cs b/src/Google.Maps/StaticMaps/StaticMapRequest.cs index 17f29e4..7a6ad27 100644 --- a/src/Google.Maps/StaticMaps/StaticMapRequest.cs +++ b/src/Google.Maps/StaticMaps/StaticMapRequest.cs @@ -277,8 +277,14 @@ private string GetPathsStr() { sb.Length = 0; + if(currentPath.Weight.HasValue) + { + sb.Append("weight:").Append(currentPath.Weight.ToString()); + } + if(!currentPath.Color.IsUndefined) { + if (sb.Length > 0) sb.Append(Constants.PIPE_URL_ENCODED); sb.Append("color:").Append(currentPath.Color.To32BitColorString()); }