Skip to content
EvaldasBend edited this page Mar 8, 2016 · 1 revision

Getting a static map url

Static Maps support allows you to get a valid url which you can use, for example, with an <img src=""> tag.

var map = new StaticMapRequest();
map.Center = new Location("1600 Amphitheatre Parkway Mountain View, CA 94043");
map.Size = new System.Drawing.Size(400, 400);
map.Zoom = 14;
map.Sensor = false;

var imgTagSrc = map.ToUri();
Clone this wiki locally