Closed GoogleCodeExporter closed 8 years ago
Attached a patch to add this functionality. It simply gets the abstractView
from within the kml file and sets the
plugin view. I tried using computeFitLookAt from ge-poly-fit-hack.js if it was
available, but it didn't create an
AbstractView for my kml files. I'm not sure if you have plans are for
incorporating this function into the utility
library, but it's worth considering.
Original comment by underbluewaters
on 24 Jul 2009 at 4:09
Attachments:
Oops. Ignore that last patch, this is the good one.
Original comment by underbluewaters
on 24 Jul 2009 at 4:10
Attachments:
Yep, good feature request. I'll take a look at the patch as soon as I have some
time.
My original plan was to move some things like serializeView into a new namespace
gex.view and also port ge-poly-fit-hack.js there. Hopefully this patch will
help with
the latter! Thanks!
Original comment by api.roman.public@gmail.com
on 24 Jul 2009 at 11:02
Implemented in trunk. I haven't updated the reference yet, but you can look at
the
commit for sample usage:
http://code.google.com/p/earth-api-utility-library/source/detail?r=47
Original comment by api.roman.public@gmail.com
on 9 Aug 2009 at 2:18
Original issue reported on code.google.com by
underbluewaters
on 17 Jul 2009 at 5:38