⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linkgraphiclist.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
    /**     * Write a line in the response.     *      * @param lat_1 latitude of placement of line.     * @param lon_1 longitude of placement of line.     * @param x1 Horizontal pixel offset of start of line.     * @param y1 Vertical pixel offset of start of line.     * @param x2 Horizontal pixel offset of end of line.     * @param y2 Vertical pixel offset of end of line.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkLine     */    public void addLine(float lat_1, float lon_1, int x1, int y1, int x2,                        int y2, LinkProperties properties) throws IOException {        LinkLine.write(lat_1, lon_1, x1, y1, x2, y2, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param ii ImageIcon to place on the map..     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, ImageIcon ii,                          LinkProperties properties) throws IOException,            InterruptedException {        LinkRaster.write(lt, ln, ii, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of     *        raster.     * @param y1 vertical pixel location of upper left corner of     *        raster.     * @param ii ImageIcon to place on the map..     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, ImageIcon ii,                          LinkProperties properties) throws IOException,            InterruptedException {        LinkRaster.write(x1, y1, ii, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param offset_x1 horizontal pixel offset of upper left corner     *        of raster.     * @param offset_y1 vertical pixel offset of upper left corner of     *        raster.     * @param ii ImageIcon to place on the map..     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          ImageIcon ii, LinkProperties properties)            throws IOException, InterruptedException {        LinkRaster.write(lt, ln, offset_x1, offset_y1, ii, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param image_width width of raster.     * @param image_height height of raster.     * @param image the java.awt.Image.     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, Image image, int image_width,                          int image_height, LinkProperties properties)            throws IOException, InterruptedException {        LinkRaster.write(lt,                ln,                image,                image_width,                image_height,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of     *        raster.     * @param y1 vertical pixel location of upper left corner of     *        raster.     * @param image Image to place on map.     * @param image_width width of image.     * @param image_height height of image.     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, Image image, int image_width,                          int image_height, LinkProperties properties)            throws IOException, InterruptedException {        LinkRaster.write(x1,                y1,                image,                image_width,                image_height,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param offset_x1 horizontal pixel offset of upper left corner     *        of raster.     * @param offset_y1 vertical pixel offset of upper left corner of     *        raster.     * @param image Image to place on map.     * @param image_width width of image.     * @param image_height height of image.     * @param properties Properties containing attributes.     * @throws IOException     * @throws InterruptedException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          Image image, int image_width, int image_height,                          LinkProperties properties) throws IOException,            InterruptedException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                image,                image_width,                image_height,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param w width of raster.     * @param h height of raster.     * @param pix integer image pixel data.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int w, int h, int[] pix,                          LinkProperties properties) throws IOException {        LinkRaster.write(lt, ln, w, h, pix, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of     *        raster.     * @param y1 vertical pixel location of upper left corner of     *        raster.     * @param w width of raster.     * @param h height of raster.     * @param pix integer image pixel data.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, int w, int h, int[] pix,                          LinkProperties properties) throws IOException {        LinkRaster.write(x1, y1, w, h, pix, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param offset_x1 horizontal pixel offset of upper left corner     *        of raster.     * @param offset_y1 vertical pixel offset of upper left corner of     *        raster.     * @param w width of raster.     * @param h height of raster.     * @param pix integer image pixel data.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          int w, int h, int[] pix, LinkProperties properties)            throws IOException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                w,                h,                pix,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param url the url to download image from.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, String url,                          LinkProperties properties) throws IOException {        LinkRaster.write(lt, ln, url, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of     *        raster.     * @param y1 vertical pixel location of upper left corner of     *        raster.     * @param url the url to download the image from.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, String url, LinkProperties properties)            throws IOException {        LinkRaster.write(x1, y1, url, properties, link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param offset_x1 horizontal pixel offset of upper left corner     *        of raster.     * @param offset_y1 vertical pixel offset of upper left corner of     *        raster.     * @param url the url to download the image from.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          String url, LinkProperties properties)            throws IOException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                url,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param w width of image.     * @param h height of image.     * @param bytes the image data, indexes into the colortable.     * @param colorTable RGB integers representing colortable of     *        image.     * @param trans the transparency of image.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int w, int h, byte[] bytes,                          Color[] colorTable, int trans,                          LinkProperties properties) throws IOException {        LinkRaster.write(lt,                ln,                w,                h,                bytes,                colorTable,                trans,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param x1 horizontal pixel location of upper left corner of     *        raster.     * @param y1 vertical pixel location of upper left corner of     *        raster.     * @param w width of image.     * @param h height of image.     * @param bytes the image data, indexes into the colortable.     * @param colorTable RGB integers representing colortable of     *        image.     * @param trans the transparency of image.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(int x1, int y1, int w, int h, byte[] bytes,                          Color[] colorTable, int trans,                          LinkProperties properties) throws IOException {        LinkRaster.write(x1,                y1,                w,                h,                bytes,                colorTable,                trans,                properties,                link.dos);    }    /**     * Write a raster in the response.     *      * @param lt latitude of placement of upper left corner of raster.     * @param ln longitude of placement of upper left corner of     *        raster.     * @param offset_x1 horizontal pixel offset of upper left corner     *        of raster.     * @param offset_y1 vertical pixel offset of upper left corner of     *        raster.     * @param w width of image.     * @param h height of image.     * @param bytes the image data, indexes into the colortable.     * @param colorTable RGB integers representing colortable of     *        image.     * @param trans the transparency of image.     * @param properties Properties containing attributes.     * @throws IOException     * @see com.bbn.openmap.layer.link.LinkRaster     */    public void addRaster(float lt, float ln, int offset_x1, int offset_y1,                          int w, int h, byte[] bytes, Color[] colorTable,                          int trans, LinkProperties properties)            throws IOException {        LinkRaster.write(lt,                ln,                offset_x1,                offset_y1,                w,                h,                bytes,                colorTable,                trans,                properties,                link.dos);    }    /**     * Write a rectangle in the response.     *      * @param lt1 latitude of placement of upper left corner of     *        rectangle.     * @param ln1 longitude of placement of upper left corner of     *        rectangle.     * @param lt2 latitude of placement of lower right corner of     *        rectangle.     * @param ln2 longitude of placement of lower right corner of

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -