<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">I</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">'d like
 to h</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">elp but it's rather difficult when you </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">f</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">irst </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">have </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">to </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">reverse
 engineer the</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"> app</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"> </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">o</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">r</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);"> </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">guess
 what the app is doing </span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">:) </span><br>
</p>
<p><br>
</p>
<p><rant><br>
</p>
<p>To me it looks like there's no <span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe WP", "Segoe UI WPC", Tahoma, Arial, sans-serif; font-size: 15px; background-color: rgb(255, 255, 255);">GetFeatureInfo operations </span>going on here. Instead it looks
 like an RPC app with markers or features being pushed on the map. Where clicks on these items are being listened to on the page that has the embedded map. And clicks are used to trigger <span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">popups on
 the map where content comes from the "parent" page</span>? Possibly even clustering done manually over RPC (something that I would like to add to Oskari so that would be an awesome contribution to the project and would reduce the maintenance of the RPC app). </p>
<p><br>
</p>
<p>So the question might be if there are 2 markers or features on top of each other (added with AddFeaturesToMapRequest or AddMarkerRequest) which one or if not both trigger a click event? Looks like it's the one that's closest to the background, but there
 might be 2 click events and the second one overrides the first one and from user perspective we only see the second one.
<br>
</p>
<p></rant><br>
</p>
<p><br>
</p>
<p>Would be awesome if there's someone who can describe how Oskari is used here and what the problem is from a technical point of view. Is it a WMS-layer? Are these markers or features or both? Are they being pushed to the map over RPC? Does the app receive multiple
 click events when the user clicks an overlapping marker/feature? Do you even listen to clicks/add the popups manually? Do you use priority numbering for features? Possibly even a simple code to reproduce the problem a<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">nd
 a suggested way h</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">ow you think it should behave on this kind of use case?</span><br>
</p>
<p><br>
</p>
<p>As to "<span style="color: rgb(33, 33, 33); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">Can Oskari GetFeatureInfo drill into multiple layers from one interface?</span>" Oskari sends a GetFeatureInfo
 request for WMS-layers on the map that are queryable and it's up to the service to respond with the info. If it means drilling into multiple layers it's up to the WMS-service. But actually looking at the appsetup used by the embedded map I can tell that it
 only has the background WMTS-layer and no WMS-layers, but I'm too lazy to rewrite the whole message so I'll just leave the questions above anyway :)<br>
</p>
<p><br>
</p>
<p>           Sami<br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Lähettäjä:</b> Sanna Jokela <sanna@gispo.fi><br>
<b>Lähetetty:</b> 26. lokakuuta 2018 11:57<br>
<b>Vastaanottaja:</b> Mäkinen Sami (MML)<br>
<b>Kopio:</b> oskari-user@lists.osgeo.org<br>
<b>Aihe:</b> Re: [Oskari-user] Bug in Suomi.fi maps - embedded maps?</font>
<div> </div>
</div>
<div>
<div dir="ltr">Apparently the clusters are usually multiple points at the same location. Nothing has changed since I asked. One problem location in Espoo. Image attached. 
<div><img alt="screencapture-kela-fi-palvelupisteen-haku-2018-10-26-09_23_08.png" width="417" height="483" src="cid:ii_jnps2afr1"><br>
</div>
<div><br>
</div>
<div>One thing that I found out from this was, that the data is originally in json format and brought somehow to the Suomi.fi maps as only one layer. Similar issues were once in Paikkatietoikkuna when there were landuse plans containing group layers and the
 info-tool could drill into just to the first layer described in the WMS (now I can't test this since the info-tool does not work at all from the regional landuse plans... probably due to the source definitions). So could this be a issue more about how the
 layers are described in the interface and in which order? Can Oskari GetFeatureInfo drill into multiple layers from one interface?<br>
</div>
<div><br>
</div>
<div>Br,<br>
</div>
<div>Sanna</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, 26 Oct 2018 at 11:20, Mäkinen Sami (MML) <<a href="mailto:sami.makinen@maanmittauslaitos.fi">sami.makinen@maanmittauslaitos.fi</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr" style="font-size:12pt; color:#000000; background-color:#ffffff; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I don't know if this was changed between the message and now, but looks like the points are clustered and clicking a cluster zooms in. So on a quick test I couldn't reproduce the problem.<br>
</p>
<p><br>
</p>
<p>          Sami<br>
</p>
<p><br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block; width:98%">
<div id="m_-3989376529997063862divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Lähettäjä:</b> Oskari-user <<a href="mailto:oskari-user-bounces@lists.osgeo.org" target="_blank">oskari-user-bounces@lists.osgeo.org</a>>
 käyttäjän puolestaSanna Jokela <<a href="mailto:sanna@gispo.fi" target="_blank">sanna@gispo.fi</a>><br>
<b>Lähetetty:</b> 25. lokakuuta 2018 17:52<br>
<b>Vastaanottaja:</b> <a href="mailto:oskari-user@lists.osgeo.org" target="_blank">
oskari-user@lists.osgeo.org</a><br>
<b>Aihe:</b> [Oskari-user] Bug in Suomi.fi maps - embedded maps?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hi!
<div><br>
Asking for a new friend :) </div>
<div><br>
</div>
<div>Suomi.fi maps has a possibility to create embedded maps and with Oskari API you can request different things from e.g. your own datasources. </div>
<div><br>
</div>
<div>Is is due to the data source or the embedded maps or the website that the info-pop-up shows only one result in those cases when there are multiple points on top of each other?  </div>
<div><br>
</div>
<div>Example here: <a href="https://www.kela.fi/palvelupisteen-haku" target="_blank">https://www.kela.fi/palvelupisteen-haku</a> ==> zoom out to see objects with multiple points on top of each other (number is shown in the vicinity of the symbol) and click
 on the symbol ==> only one result is shown. Apparently it is also the one that is the lowest. </div>
<div><br>
</div>
<div>In this case the data is requested through API received from the Service database in Finland.<br clear="all">
<div><br>
</div>
<div>If someone has time to check this at some point, it would be great! At least to know which service to blame :)</div>
<div><br>
</div>
<div>BR,</div>
-- <br>
<div dir="ltr" class="m_-3989376529997063862gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div style="font-size:small">Sanna Jokela</div>
<div>
<div><font size="1">GIS specialist / Oskari communication coordinator</font></div>
<div><font size="1">Gispo Ltd</font></div>
<div><font size="1">+358 407664607</font></div>
<div><font size="1"><a href="http://www.gispo.fi/" target="_blank" style="color:rgb(17,85,204)">www.gispo.fi</a> </font></div>
</div>
<div><span style="font-size:x-small"><a href="https://community.oskari.org" target="_blank">https://community.oskari.org</a>   </span><font size="1"><br>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div style="font-size:small">Sanna Jokela</div>
<div>
<div><font size="1">GIS specialist / Oskari communication coordinator</font></div>
<div><font size="1">Gispo Ltd</font></div>
<div><font size="1">+358 407664607</font></div>
<div><font size="1"><a href="http://www.gispo.fi/" target="_blank" style="color:rgb(17,85,204)">www.gispo.fi</a> </font></div>
</div>
<div><span style="font-size:x-small"><a href="https://community.oskari.org" target="_blank">https://community.oskari.org</a>   </span><font size="1"><br>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>