[Oskari-user] Oskari RPC and requesting feature info

Erno Mäkinen erno at gispo.fi
Thu Nov 22 02:34:22 PST 2018


Hi,

If I have published and embedded an Oskari map via iframe that has, for
example a WMS layer, and when user clicks on the map I can capture that
event via the MapClickedEvent. However, if I would like to get information
of the feature that was clicked to my Javascript code, is this possible?

The RPC MapModulePlugin.GetFeatureInfoRequest shows info box on the map for
the features and if I have added vector features to the map via the RPC
AddFeaturesToMapRequest I can get them via the getFeatures function.
However, I would like to get info of the features that have been added via
the Oskari UI and, for example, show customized popup with an image and URL
link for them by using my Javascript code.

Best regards,
-- 
Erno Mäkinen
Gispo Oy
erno at gispo.fi - GSM +358 50 505 7003
www.gispo.fi - www.facebook.com/GispoFinland/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/oskari-user/attachments/20181122/a92acba0/attachment.html>


More information about the Oskari-user mailing list