<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.Shkpostityyli20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Here’s a fix for the marker click issue: <a href="https://github.com/oskariorg/oskari-frontend/pull/1814">
https://github.com/oskariorg/oskari-frontend/pull/1814</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Sami<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:FI">Lähettäjä:</span></b><span style="mso-fareast-language:FI"> Mäkinen Sami (MML)
<br>
<b>Lähetetty:</b> maanantai 9. toukokuuta 2022 18.00<br>
<b>Vastaanottaja:</b> Tero Suihkonen <tero.suihkonen@tietotalo.fi>; Oskari-user@lists.osgeo.org<br>
<b>Aihe:</b> VS: RPC MarkerClickEvent and custom icons has stopped working<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I updated the marker RPC example on Oskari.org with the latest example (it’s not a nice diff since the example format was not updated to the new one we now use
<a href="https://github.com/oskariorg/oskari-vuerpc/commit/db22a211da43f54dc6d02947d7a24993d0c7e965">
https://github.com/oskariorg/oskari-vuerpc/commit/db22a211da43f54dc6d02947d7a24993d0c7e965</a>). The size calculation for custom icons has changed at some point (not sure when), but when not using the built-in symbols the “size” property is now considered pixels.
With the built-in symbols it’s an abstracted value that is transformed to pixel size with 10 * size + 40. I believe the custom icon sizes worked with that formula before as well. An easy fix would be migrating the sizes on your app to match that (sorry about
that).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As for MarkerClickEvents not triggering I’m still looking into this, but it will probably be next week until I can sort it out. We are planning on doing the next release (2.8.0) mid-June, but I could see this being something
that we might want to hotfix before that. Any thoughts on that?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Br,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> Sami<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:FI">Lähettäjä:</span></b><span style="mso-fareast-language:FI"> Oskari-user <<a href="mailto:oskari-user-bounces@lists.osgeo.org">oskari-user-bounces@lists.osgeo.org</a>>
<b>Puolesta </b>Tero Suihkonen<br>
<b>Lähetetty:</b> maanantai 9. toukokuuta 2022 10.28<br>
<b>Vastaanottaja:</b> <a href="mailto:Oskari-user@lists.osgeo.org">Oskari-user@lists.osgeo.org</a><br>
<b>Aihe:</b> [Oskari-user] RPC MarkerClickEvent and custom icons has stopped working<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are using embedded map and RPC functionality in out customers website. We noticed that MarkerClickEvent and custom icons has stopped working. Same problem appears in your RPC example pages. Is there any solution for
that?<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Segoe UI",sans-serif;mso-fareast-language:EN-GB">Br, Tero Suihkonen / Tietotalo Oy</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
</body>
</html>