![]() |
|
Spaces home 外热忱棵的家PhotosProfileFriendsMore ![]() | ![]() |
|
外热忱棵的家7/4/2008 1厘米等于多少个像素客户要求地图显示的时候显示的是一比多少的地图,于是会设计到这个问题。 网上的答案都是这个问题是错误的之类的答案,或者就是1厘米等于25像素。 假设前提:
首先计算显示器的长和宽: 1 像素 = (386.08/1024) mm .= 0.377031 mm
3. N英寸的屏幕 4. 几个常见的N值
7/3/2008 关于图例的显示下午在研究如何显示图例,发现主要需要用到Legend这个类,但每次显示出来时图片均太小了。 以下为相关代码: map.refresh(); ServerParameter.setLegendUrl(legend.getLegendOutput().getURL()); 网页部分的代码 window.showModalDialog(strLegendURL, this, urlLegendProperties);
7/1/2008 修改IE7的默认页面不小心安装了IE7,每次都打开微软自己的那个页面,通过“工具” -> “Internet 选项”中的“主页”项改了半天都没改过来。实在不懂微软为什么一定要这样做,最后还是在网上找到了一篇介绍修改默认页面的方法。
有些版本并没有组策略编辑器,或者你看看服务中是不是将Group Policy服务关闭了,这个服务要启动才能调整组策略! 6/29/2008 some error messages2008-06-24 11:50 java.lang.OutOfMemoryError: Java heap space
2008-06-24 16:55 fnfe=java.io.FileNotFoundException: jcyq.cfg (系统找不到指定的文件。) 2008-06-26 11:57 Connection timed out: connect 2008-06-26 11:57 File "null" not found. 2008-06-29 21:20 java.lang.ClassCastException: com.esri.aims.mtier.model.map.layer.ImageLayer 2008-07-04 10:04 [ERR0503] Query failed. Check 'where' clause for valid syntax and field names and that layer ID is correct. 6/28/2008 用VML给地图添加比例尺在HTML页面中添加如下代码:
<!-- 比例尺 -->
<div id="scaleBar" style="font-weight:bold;position:absolute; overflow:hidden; right:50px; bottom:0px; width:100px; height:25px;"> 比例尺 </div> <v:polyline points='0,95 0,100 100,100 100,95' style='position:absolute;z-index:2100;right:50;bottom:0;' strokecolor='#000000' strokeweight='2' filled='true'>
<v:stroke StartArrow='' EndArrow='' dashstyle='Line' /> </v:polyline> 其中scaleBar用于显示100个像素代表的实际距离,<v:polyline>要素用于显示比例尺。
具体显示效果如下:
|
||||||||||||||||||||||||
|
|