[mapguide-users] Search widget Problem

farman fufarmanullah3 at gmail.com
Mon Oct 21 21:46:39 PDT 2019


Hi All
I am using Mapguide 3.1.2. when i search a features trough search widget it
shows only point features(Bridges) and didn't search line features (Roads).
Below is my search widget xml code.

<?xml version="1.0"?>
<WidgetType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="UiWidgetType">
  <Name>search</Name>
  <Type>Search</Type>
  <Location />
  <Extension>
    <Target>TaskPane</Target>
    <Prompt />
    <Layer />
    <Filter>Road_Name like '%$USER_VARIABLE%'</Filter>
    <MatchLimit>100</MatchLimit>
    <ResultColumns />
    <Title />
    <PointZoomLevel>500.0</PointZoomLevel>
  </Extension>
  <ImageUrl>images/icons.png</ImageUrl>
  <ImageClass>search</ImageClass>
  <Label>Search</Label>
  <Tooltip>Click to carry out a search on the map data</Tooltip>
  <StatusText />
  <Disabled>false</Disabled>
</WidgetType>


One thing i want to clear that the Road_Name Column is present in both Point
and line Features.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html


More information about the mapguide-users mailing list