网友投稿 | 设为首页 | 加入收藏
1/1页1 跳转到查看:2149
回复该主题 发新话题
键盘左右键可以进行前后翻页操作
帮助

[分享]按照XXX1XXX强帖的指引学做的“Screen Overlays”

[分享]按照XXX1XXX强帖的指引学做的“Screen Overlays”

XXX1XXX 强帖的指引:



Google地球KML指南--------- KML高级语言的使用指南

http://www.keyhole.com/kml/kml_tut.html



此主题相关图片



此主题相关文件 005410.kml

此主题相关文件 005435.kml

此主题相关图片



此主题相关图片


TOP

 

re:谢谢。。。。。谢谢你。。。。偶稍候也给大...

谢谢。。。。。谢谢你。。。。偶稍候也给大家试做一个呀。

TOP

 

re:是一个什么东西?

是一个什么东西?

TOP

 

re:[QUOTE][b]下面引用由[u]kd...

下面引用由kdbker发表的内容:



是一个什么东西?








Screen Overlays

Screen overlays cannot be authored directly within the Google Earth client, and are thus more difficult to create than ground overlays. A comprehensive collection of samples is included in the Screen Overlays folder in the tutorial KML.



Let's take just one of these as an example. Open the "Absolute Positioning: Top left" file and you will see a screen overlay at the top left of the view window. This was created with the following KML codebr>


<?xml version="1.0" encoding="UTF-8"?>

<kml xmlns="http://earth.google.com/kml/2.0";>

<ScreenOverlay>
  <name>Absolute Positioning: Top left</name>
  <Icon>
   <href>http://bbs.keyhole.com/ubb/z0302a1700/top_left.jpg<;/href>
  </Icon>
  <overlayXY x="0" y="1" xunits="fraction" yunits="fraction"/>
  <screenXY x="0" y="1" xunits="fraction" yunits="fraction"/>
  <size x="0" y="0" xunits="fraction" yunits="fraction"/>

</ScreenOverlay>

</kml>



Positioning is controlled by mapping a point in the image specified by <overlayXY> to a point on the screen specified by <screenXY>. In this case, the top-left corner of the image (0,1) has been made coincident with the same point on the screen.



Check the other examples in the folder to see how it is possible to obtain other fixed positions, and to create images that size dynamically with screen size. (Note that xunits and yunits can also be specified as "pixels" for precision control.)


TOP

 

re:[QUOTE][b]下面引用由[u]kd...

下面引用由kdbker发表的内容:



是一个什么东西?






你不想看偶就不献丑了。。。。。。祝大家元宵节快乐。







请点击图片访问出处: http://news.sohu.com/20050222/n224381039.shtml (元宵节前俏烟花(图)-搜狐新闻中心)

TOP

 

re:这是做[B]屏幕绝对定位的覆盖层[/B]...

这是做屏幕绝对定位的覆盖层的代码,GE内部做出来的。



Google Earth KML Screen Overlays--偶管它叫“GE视窗标识”吧




TOP

 
1/1页1 跳转到
回复该主题 发表新主题
  <<上一主题 | 下一主题>>