Hi list,

I trying to overrule a  hardcoded legendicon Az (annotation) with a pixmap in the class section.



map file
LEGEND
  STATUS on
  KEYSIZE 26 13
END

    LAYER
        CONNECTIONTYPE postgis
        NAME "bag_adres"
        GROUP "bag_adres"
        CONNECTION *************************************************************
        DATA "geom from public.bag_adres USING UNIQUE oid"
        TYPE ANNOTATION
        TOLERANCE 10
        MAXSCALE 3500
        MINSCALE 0
        STATUS ON
        LABELITEM "huisnummers"
        TEMPLATE "blank.html"
        CLASS
            NAME 'Huisnummers'
            KEYIMAGE "/pixmap/adres.png"
            LABEL
                COLOR 0 0 0
                SHADOWCOLOR 255 255 255
                TYPE truetype
                FONT arialvet
                SIZE 8
                POSITION CC
                PARTIALS FALSE
                ANTIALIAS TRUE
                OFFSET 0 0
            END
        END
    END

The result is a white image.

 

thanks in advance.
gr Fons
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to