[Chameleon] Customize Style for map

OULD BILAL Ahmed ahmed_ouldbilal at yahoo.com
Mon Mar 19 05:14:42 EST 2007


Hi

how to customize style for map, for example style point to be preview star or other forms.
I want the code to be add in file .map is it resole this problem.

My code this is :

MAP
NAME DEMO
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.sym
SHAPEPATH "../data"
EXTENT -187.551936 -69.700000 18.400560 71.380889
UNITS METERS
QUERYMAP
STATUS ON
STYLE HILITE
COLOR 255 0 0
END
PROJECTION
"init=epsg:42304"
END
 
LAYER
NAME CITY_125
GROUP "Point"
METADATA
"DESCRIPTION" "City125"
"GROUP" "Point"
"LAYER" "CITY_125"
END
TYPE POINT
STATUS OFF
CONNECTIONTYPE OGR
CONNECTION "../data_apps/CITY_125.TAB"
STYLEITEM "AUTO"
DUMP TRUE
TEMPLATE "blank.html"
CLASS
SYMBOL 2
SIZE 8
NAME "CITY 125"
COLOR 0 0 0
END
END # Layer
LAYER
NAME STATECAP
GROUP "Point"
METADATA
"DESCRIPTION" "STATE CAPITAL"
"GROUP" "Point"
"LAYER" "STATECAP"
END
TYPE POINT
STATUS OFF
CONNECTIONTYPE OGR
CONNECTION "../data_apps/STATECAP.TAB"
STYLEITEM "AUTO"
DUMP TRUE
TEMPLATE "blank.html"
CLASS
SYMBOL 2
SIZE 8
NAME "STATECAP"
COLOR 159 0 0
END
END # Layer
LAYER
NAME STATES
GROUP "POLYGON"
METADATA
"DESCRIPTION" "STATES"
"GROUP" "POLYGON"
"LAYER" "STATES"
END
TYPE POLYGON
STATUS OFF
CONNECTIONTYPE OGR
CONNECTION "../data_apps/STATES.TAB"
STYLEITEM "AUTO"
DUMP TRUE
TEMPLATE "blank.html"
CLASS
NAME "STATES"
COLOR 255 215 176
OUTLINECOLOR 120 120 120
END
END # Layer
END # Map File


 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070319/21b8e5c3/attachment.html


More information about the Chameleon mailing list