private Image GetPushPinImage(
            Image customPushpinImage,
            string pushPinLabelText,
            MapDescription mapDescription)
        {
            var originalPushPinImage = customPushpinImage;
                var resizedPushPinImage = originalPushPinImage.ReSize(mapDescription.MapImageScaleFactor);
                Image pushpinImage = null;
                pushpinImage = string.IsNullOrWhiteSpace(pushPinLabelText)
                                   ? resizedPushPinImage
                                   : this.pushpinBuilder.GetLabeledPushpinImage(resizedPushPinImage, pushPinLabelText);

                return pushpinImage;
        }
 private static void AddMapSizeQueryArguments(
     MapDescription mapDescription,
     List<KeyValuePair<string, string>> queryArguments)
 {
     queryArguments.Add(
         new KeyValuePair<string, string>(
             "ms",
             string.Format("{0},{1}", mapDescription.MapWidth, mapDescription.MapHeight)));
 }