Example 3.4: The Query Map

Select Layers:
State Boundaries  County Boundaries  Cities  Federal/Indian Lands  Water Features  Roads
Select Background:
Map Mode:
Map Control:

Reference:

Legend:


To see this example in action, open example3.map and replace the WEB FOOTER line like so:

        WEB
          ...
          #FOOTER    '../templates/footer.html'
          FOOTER    '../templates/footer_querymap.html'
          ...
        END
        
Also, uncomment the entire QUERYMAP object:
        #
        # A querymap object is used to highlight, or make prominent, the
        # features on a map selected via a query or nquery request.   This
        # means you can display your query results and a map showing the
        # features selected for the query.
        QUERYMAP
          SIZE 200 150
          STATUS ON
          STYLE HILITE  # SELECTED | NORMAL
          COLOR 255 0 0
        END
        

View the MapFile | View the HTML Template


Back to Example 3.3 | Back to the Section 3 | Back to the Sections Page | Proceed to Section 4