<div dir="ltr"><div dir="ltr">Hi, <div><br></div><div>Good news! I finally got it worked, adding the lat/lon from the list to the map and as a separate layer to the legend by using OpenLayers for defining the vector and source and the following lines: </div><div><br></div><div><div>var layerMgr = viewer.getLayerManager(); </div><div> var layerInfo = layerMgr.addLayer(name, vectorLayer);</div><div> viewer.dispatch(parent.MapGuide.Actions.Map.mapLayerAdded(viewer.getMapName(), layerInfo));<br></div></div><div><br></div><div>Happy Holidays!</div><div> </div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Dec 15, 2023 at 7:26 PM Sympatico <<a href="mailto:pierre.cardinal@sympatico.ca">pierre.cardinal@sympatico.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="auto">Hi,</div><div dir="auto"><br></div><div dir="auto">Did you give a look at <a href="https://github.com/jumpinjackie/mapguide-react-layout-example" style="font-size:medium;color:rgb(0,120,212);background-color:rgb(255,255,255)" target="_blank">https://github.com/jumpinjackie/mapguide-react-layout-example</a> ?</div><div dir="auto"><br></div><div dir="auto">Regards </div><div dir="auto"><br></div><div dir="auto">Pierre </div></div>
</blockquote></div>