windrobin / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
GNU General Public License v3.0
0 stars 1 forks source link

Extent Button #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What should this feature enhancement do?
Add an Extent Button that zooms out to the extent of all the points on the map.

Original issue reported on code.google.com by ali....@gmail.com on 8 Dec 2011 at 11:14

GoogleCodeExporter commented 9 years ago
Thanks for the input, I don't think this is something I'll add though.

FYI there is already a function to compute the bounds for an object (or 
collection of objects)

If you wish to set the view to the contents of a KmlFolder or KmlDocument then 
you can simply do...

// Where ge is the plugin and feature is what you want the view of
GEHelpers.FlyToObject(ge, feature);

It would be easy to add a button to the GEToolStrip that does what you want - 
try it!

Hope that helps.

Original comment by fraser.c...@gmail.com on 12 Dec 2011 at 8:37