My favorites | Sign in
Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 42: Get Bounding Box of current viewport
29 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  api.roman.public
Closed:  Apr 2009
Type-Enhancement
Priority-Medium
Internal-1253150


Sign in to add a comment
 
Reported by api.roman.public, Aug 12, 2008
Similar to GMap2's getBounds() or the BBOX coordinates sent with a Google Earth request.

Requested by: pabu

Supported by: billChadwick, jan.wischnat
Comment 1 by heidtmare, Oct 29, 2008
I think this feature is extremely important.
Comment 2 by api.roman.public, Oct 29, 2008
(No comment was entered for this change.)
Status: Accepted
Comment 3 by elder.jim, Nov 01, 2008
I'd like this too (for the moment, I'll try using lookAt.getRange(), which I gather,
by trial-and-error, gives the width of the current view in meters (hey Google, what
about improving the documentation on getRange -- what does it return, exactly?  In
general, I find GE documentation to be a bit skimpy.)
Comment 4 by api.roman.public, Dec 01, 2008
(No comment was entered for this change.)
Labels: Internal-1253150
Comment 5 by api.roman.public, Dec 01, 2008
(No comment was entered for this change.)
Summary: Get Bounding Box of current viewport
Comment 6 by bteitler4, Jan 21, 2009
I also need this feature my application.  I was using the Network Link feature and
extracting the BBOX to get this information, however the Placemarks I generated
cannot be iterated if I create them using a KML file.

Where are the Placemark objects stored when they are generated via the Network Link
in this manner?  NetworkLink does not have a "getChildren()" method but when I
examine the getParentNode() of a Placemark passed to me through an event handler, it
claims its parent is a "NetworkLink".
Comment 7 by api.roman.public, Feb 05, 2009
 Issue 127  has been merged into this issue.
Comment 8 by api.roman.public, Apr 01, 2009
This long-requested feature is now available as of 5.0.11655.6079, as
GEView.getViewportGlobeBounds

See the release notes, new Google Earth Plugin 5.0 samples, and updated v1.002 API
reference for more details.

http://code.google.com/apis/earth/documentation/releasenotes.html#2009-03-31
http://code.google.com/apis/earth/documentation/demogallery.html?topic=fiveoh
http://code.google.com/apis/earth/documentation/reference/index.html

Status: Fixed
Sign in to add a comment