Perhaps, this feature is there already, I just cant seem to find it ? Anyway
here it goes:
What should this feature enhancement do?
When using the SetBoundsView, the view would be fitted to the object size, in
order for the user to be able to see the whole collection of
placemarks/linestrings or whatever, instead of the view being zoomed in to the
center of the bounds, using the default altitude. Also avoiding the opposite
where the view is zoomed to far out.
For instance like this:
//create line
var line = KmlHelpers.CreateLineString(_ge, pm1, pm2, id: stringId, width: 3,
color: new KmlColor(color));
//Getting bounds Bounds
b = KmlHelpers.ComputeBounds(line);
//Setting the view to the bounds
KmlHelpers.SetBoundsView(_ge, b);
Regards,
TKM
Original issue reported on code.google.com by tho...@gmail.com on 29 Jun 2012 at 12:23
Original issue reported on code.google.com by
tho...@gmail.com
on 29 Jun 2012 at 12:23