- 博客(6)
- 收藏
- 关注
原创 利用HttpClient使得Openlayers3能够访问跨域访问arcgis for server
最近做一个WebGIS的项目,使用的是Openlayers3 v3.17.1的版本,需要用到ajax调用ArcGIS for Server 10.2发布的WMS服务,业务应用于GIS服务不在一个域内,需要解决跨域的问题。1、(不是最终解决方案,可略过)网上有一篇关于跨域的解决办法,讲的比较明白:http://www.cnblogs.com/dojo-lzz/p/4265637.html...
2016-07-12 13:11:46 230
原创 好用的LookAndFeel——TinyLaF
仔细阅读readme,就可以发现,tinycp.jar含有调试定制面板,实际上就是定制Theme主题,开发加载的时候,还是应该加载tinylaf.jarTinyLaF will search the following URLs: TinyLookAndFeel.class.getResource("/Default.theme");- finds 'Default.theme'...
2012-10-10 09:21:22 263
原创 用Tomcat搭建GSP服务器,IDEA开发GSP
新建一个Web项目(一)将antlr、asm、groovy三个jar包放到WEB-INF\lib下,项目目录结构如下(二)修改web.xml,增加serverlet和serverlet映射为以下内容,它的意思就是告诉服务器,凡是*.groovy文件,用groovy.servlet.GroovyServlet类处理,凡是*.gsp用groovy.servlet.TemplateSe...
2010-10-29 10:57:30 332
原创 网上收集的GIF操作的三个类AnimatedGifEncoder,NeuQuant,LZWE(三)
public class AnimatedGifEncoder { protected int width; // image size protected int height; protected Color transparent = null; // transparent color if given pr...
2010-10-29 10:38:04 367
原创 网上收集的GIF操作的三个类AnimatedGifEncoder,NeuQuant,LZWE(二)
public class NeuQuant { protected static final int netsize = 256; /* number of colours used */ /* four primes near 500 - assume no image has a length so large */ /* ...
2010-10-29 10:36:43 403
原创 网上收集的GIF操作的三个类AnimatedGifEncoder,NeuQuant,LZWE(一)
class LZWEncoder { private static final int EOF = -1; private int imgW, imgH; private byte[] pixAry; private int initCodeSize; private int remaining;...
2010-10-29 10:33:47 1015
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人