/// /// Draws the map. /// /// The helper. /// The key. /// The json URL. /// Width of the map. /// Height of the map. /// The html of the map. public static string DrawMap(this HtmlHelper helper, string key, string jsonUrl, string mapWidth, string mapHeight) { StringBuilder mapHtml = new StringBuilder(); // Google Maps API Link mapHtml.Append(""); // Hidden value mapHtml.Append(""); // Map Div mapHtml.Append("
"); // Maps javascript file mapHtml.Append(""); return mapHtml.ToString(); }