devdattaT / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

Request for new type of AbstractView element #322

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Products relevant: KMLStandard, Earth, EarthPlugin

I am in heavy need for a new type of AbstractView. I would like to 
specify camera position (as in Camera element), but at the same time I 
would like to specify what the camera is pointing/looking at (as in
LookAt). This should open up for many visualisation situations such as
"What does a tourist see when he stands 'here' and looks at 'that' ?"

I imagine somethink like this 
 <View id="ID">
  <!-- inherited from AbstractView element -->
  <TimePrimitive>...</TimePrimitive>  <!-- gx:TimeSpan or gx:TimeStamp -->

  <!-- specific to View -->
   <From> 
     <longitude>0</longitude>            <!-- kml:angle180 --> 
     <latitude>0</latitude>              <!-- kml:angle90 --> 
     <altitude>0</altitude> 
     <altitudeMode>clampToGround</altitudeMode> 
   </From> 
   <At> 
     <longitude>0</longitude>            <!-- kml:angle180 --> 
     <latitude>0</latitude>              <!-- kml:angle90 --> 
     <altitude>0</altitude>              <!-- double --> 
     <altitudeMode>clampToGround</altitudeMode> 
   </At> 
   <roll>0</roll>                      <!-- kml:angle180 --> 
 </View> 

See also http://groups.google.com/group/kml-support-

There is no current workaround for this feature.

Jarl

Original issue reported on code.google.com by j...@gavia.dk on 23 Nov 2009 at 8:04

GoogleCodeExporter commented 8 years ago
Good idea.

In the meantime, if you're using JavaScript and the Earth API, check this out:

http://earth-api-utility-
library.googlecode.com/svn/trunk/extensions/examples/vantage-view.html

Original comment by api.roman.public@gmail.com on 25 Nov 2009 at 5:37

GoogleCodeExporter commented 8 years ago
Sounds good the suggestion is acknowledged. I see now that my url paste was 
some how
cut-off, here is the link I tried to paste in:
http://groups.google.com/group/kml-support-

Thanks for the tip on the JavaScript, I'll take a look, but we mostly use KML, 
since
that will work on Linux as well; a KML link will open up Google Earth.

Jarl

Original comment by j...@gavia.dk on 26 Nov 2009 at 7:53