要查看此示例,打开图像例三更换Web的页脚行。像这样:
WEB
...
#FOOTER '../templates/footer.html'
FOOTER '../templates/footer_querymap.html'
...
END
并且添加 QUERYMAP 对象:
QUERYMAP
SIZE 200 150
STATUS ON
STYLE HILITE # SELECTED | NORMAL
COLOR 255 0 0
END
查询地图图像对象是用来突出或做出突出 功能,在地图上通过查询或多次查询请求选择。这意味着你可以显示你的查询结果和一张地图,显示选择查询功能。
View the MapFile |
View the HTML Template
45 | HEADER "../maptmpl/example3_header.html" | 45 | HEADER "../maptmpl/example3_header.html" | ||
n | 46 | FOOTER "../maptmpl/example3_footer.html" | n | 46 | FOOTER "../maptmpl/example3_footer_querymap.html" |
47 | TEMPLATE "to be replaced by map_web_template variable in section3.html" | 47 | TEMPLATE "to be replaced by map_web_template variable in section3.html" | ||
54 | END | 54 | END | ||
t | t | 55 | END | ||
56 | QUERYMAP | ||||
57 | SIZE 200 150 | ||||
58 | STATUS ON | ||||
59 | STYLE HILITE | ||||
60 | COLOR 255 0 0 | ||||
55 | END | 61 | END |