[Geomoose-users] Search - pink layer when clicking on link to zoom to result

CoFIS Web coffee at uni-bonn.de
Tue Dec 22 09:04:44 EST 2009


Using itemquery.php I got the search running.

If I get a unique result, GM automatically zooms to the right place and 
highlights the polygon - all fine.

Ambiguous results are displayed in the sidebar. Once clicking the link 
to zoom to one of them results in zooming to the item (visible due to 
the change in the overview map) but shows a pink (error) layer on top of 
all other layers in the main map window.

What shall I post to track the issue down?

Thanks,
Nils

You can try at http://www.cofis.info/atlas using "Ya" and "Yayu" as 
search strings.


itemqueury.php reads

<service name="search_admin">
  <url>php/itemquery.php</url>
   <step type="input">
     <input type="select" name="qitem" title="Search by:">
       <option value="wereda">Wereda</option>
       <option value="region">Region</option>
     </input>
     <input type="user" name="qstring" title=""/>
     <input type="hidden" name="layer" value="administration/all"/>
     <input type="hidden" name="zoom_to_first" value="false"/>
     <input type="hidden" name="highlight" value="true"/>
   </step>
</service>


-- 
Center for Development Research
Department of Ecology and Resource Management

Walter-Flex-Strasse 3
53113 Bonn (Germany)

Tel.:   +49 (0) 228 - 73-1793
FAX:    +49 (0) 228 - 73-1889

E-Mail: coffee at uni-bonn.de

Web:    http://www.cofis.info/atlas
         http://www.coffee.uni-bonn.de




More information about the Geomoose-users mailing list