[Users] GeoExt.LegendPanel and TYPE RASTER

Richard LEHAUT richard.lehaut at gmail.com
Fri Jun 11 16:08:48 CEST 2010


Hello

For the legend of a raster layer, I want to show the creation date of the
layer.

For example the raster:
    LAYER # Photo
        NAME "ortho"
        STATUS ON
        TYPE RASTER
        TILEINDEX "ref/ign/ortho.shp"
        OFFSITE 255 255 255
        #MAXSCALEDENOM 40000
        TILEITEM "location"
        PROJECTION
            "init=epsg:27572"
        END
        METADATA
            "wms_title" "Ortho dernière génération"
            "wms_srs" "EPSG:27572"
        END
    END

    var ccORTHO = new OpenLayers.Layer.WMS(
            "ortho",
            config.tc_server,
            {layers: 'ortho', format: 'image/png'},
            {isBaseLayer: false,
            projection:"EPSG:27572",
            reproject: false }
        );
    map.addLayer(ccORTHO);


I want to get
Ortho
Calvados 2001
Channel 2006

Can you give me your ideas to make this configuration?
Cordially

Richard Lehaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100611/9a0e2c73/attachment.htm 


More information about the Users mailing list