Search System

From Ka-Map Wiki

Jump to: navigation, search

[edit] Search System Setup

  • 1. In your mapfile set:
  • Ominiverdi Example - this is an example where you can search for countries (english names)
  • available from version 1.0 or in CVS
LAYER
  CLASS
  END
  METADATA
     "queryable" "true"
     "searchfield" "layer_field_name"
     "fields" "fieldname1:alias1,fieldname2:alias2,fiendname3:alias3" 
  END
END 
  • 2. Rember to define a TEMPLATE object inside LAYER object:
LAYER
  TEMPLATE "foo.bar"
END

[edit] See Also

  • Query - How to setup a ka-Map! point and click query information system using the maps legend "i" icon
Personal tools