This project has moved. For the latest updates, please go here.
1

Closed

Set the map zoom to show all the pushpins on the page

description

Once you add all the push-pins to the map, how to set the map to zoom in as much as possible to show all the pushpins? Thank you!
 
    Pushpin p1 = new PietschSoft.VE.Pushpin("Point1", new PietschSoft.VE.LatLong(38.255924, -78.119118), null, "Point One", "The first pushpin.");
    Pushpin p2 = new PietschSoft.VE.Pushpin("Point2", new PietschSoft.VE.LatLong(40.837291, -73.889671), null, "Point Two", "The second pushpin.");
    Pushpin p3 = new PietschSoft.VE.Pushpin("Point3", new PietschSoft.VE.LatLong(41.371063, -83.62038), null, "Point Three", "The third pushpin.");
    Map1.Pushpins.Add(p1); //Map1.LatLong = new LatLong(38.255924, -78.119118);
    Map1.Pushpins.Add(p2);
    Map1.Pushpins.Add(p3);
Closed Apr 26, 2014 at 6:11 PM by crpietschmann
No longer relevant with latest release

comments