[Geoprisma-dev] QueryOnClick - Clear button

Alexandre Dube adube at mapgears.com
Fri Nov 6 09:15:48 EST 2009


Yves Moisan wrote:
> Just saw something interesting on the OL list : 
>
> "So I have an OpenLayers map that has a WMS Layer on it, and a
> GetFeature control that uses the WFS.fromWMSLayer Protocol in
> conjunction with a Vector Layer to highlight a selected Feature."
>
> So it seems like it is possible to highlight what is selected with a
> queryonclick highlighted in the WMS (or does that return the
> corresponding features ?).  That would potentially make the marker issue
> moot.  That could also probably be used in the InitialView widget.
>
> I'll put that in Trac when the JIRA history is shoved in.
>
> Yves
>   

That could be only possible if a vector layer (of the same resource) was 
added to the map and if the QueryOnClick widget was enhanced with a 
"AutoResourceActivation" tool, like the Shortcut widget.  Do you see 
what I mean ?

Unless there's a vector layer of the same resource, it would be 
impossible to "highlight" anything with a simple getfeatureinfo request...

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Geoprisma-dev mailing list