<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to create marker on URL]]></title><description><![CDATA[<p dir="auto">Hi,<br />
It's easy for me to generate a URL of this type :<br />
<a href="https://www.windy.com/?gfs,38.284,-37.430,8,i:pressure" rel="nofollow ugc">https://www.windy.com/?gfs,38.284,-37.430,8,i:pressure</a><br />
but I do not know how to do it for the marker ...<br />
<a href="https://www.windy.com/?gfs,38.284,-37.430,8,i:pressure,m:***eJNae6w" rel="nofollow ugc">https://www.windy.com/?gfs,38.284,-37.430,8,i:pressure,m:***eJNae6w</a>***</p>
<p dir="auto">Where i can learn this méthode ?</p>
<p dir="auto">the ultimate goal is to get, without any additional manipulation, the display of the marker on the map like this :<br />
<img src="https://i.postimg.cc/Wbv32kWT/Capture-d-e-cran-2019-04-01-a-22-58-53.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.windy.com/topic/8077/how-to-create-marker-on-url</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 03:52:27 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/8077.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 01 Apr 2019 21:00:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to create marker on URL on Sat, 13 Apr 2019 04:04:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tomslavkovsky" aria-label="Profile: TomSlavkovsky">@<bdi>TomSlavkovsky</bdi></a></p>
<p dir="auto">Cool.  Thanks!!  Works well.</p>
<p dir="auto">Can we mount plugins yet?  I see we can open an airport from path.</p>
]]></description><link>https://community.windy.com/post/20707</link><guid isPermaLink="true">https://community.windy.com/post/20707</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Sat, 13 Apr 2019 04:04:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 10 Apr 2019 17:44:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tomslavkovsky" aria-label="Profile: TomSlavkovsky">@<bdi>TomSlavkovsky</bdi></a><br />
Thanks for this improvement, it works very well ;)<br />
The GPS coordinates displayed, by the picker, are translated exactly as those sent despite the truncated display in the address bar, it's perfect !</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a><br />
Thanks again for the JS code which has helped me well until here.<br />
(And in addition I discovered the GeoHash system ;p)</p>
]]></description><link>https://community.windy.com/post/20623</link><guid isPermaLink="true">https://community.windy.com/post/20623</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Wed, 10 Apr 2019 17:44:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 10 Apr 2019 08:53:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gegax" aria-label="Profile: GeGaX">@<bdi>GeGaX</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a> It's now possible to open Windy with picker.</p>
<p dir="auto">Also recommend to check following topic: <a href="https://community.windy.com/topic/77/windy-com-url-parameters">https://community.windy.com/topic/77/windy-com-url-parameters</a></p>
]]></description><link>https://community.windy.com/post/20604</link><guid isPermaLink="true">https://community.windy.com/post/20604</guid><dc:creator><![CDATA[TomSlavkovsky]]></dc:creator><pubDate>Wed, 10 Apr 2019 08:53:45 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Sat, 06 Apr 2019 07:41:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tomslavkovsky" aria-label="Profile: TomSlavkovsky">@<bdi>TomSlavkovsky</bdi></a><br />
Hi TomSlavkovsky,<br />
will you share the info here when it's possible?<br />
Thanks 😉</p>
]]></description><link>https://community.windy.com/post/20511</link><guid isPermaLink="true">https://community.windy.com/post/20511</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Sat, 06 Apr 2019 07:41:24 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Fri, 05 Apr 2019 14:38:25 GMT]]></title><description><![CDATA[<p dir="auto">Hi, guys we will give the option to share the picker in URL. It will be possible very soon by adding d:picker` into the URL.</p>
]]></description><link>https://community.windy.com/post/20491</link><guid isPermaLink="true">https://community.windy.com/post/20491</guid><dc:creator><![CDATA[TomSlavkovsky]]></dc:creator><pubDate>Fri, 05 Apr 2019 14:38:25 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Thu, 04 Apr 2019 08:22:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a><br />
In place and functional, thanks 😉</p>
]]></description><link>https://community.windy.com/post/20441</link><guid isPermaLink="true">https://community.windy.com/post/20441</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Thu, 04 Apr 2019 08:22:45 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Thu, 04 Apr 2019 06:45:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a><br />
ok understood, thanks for everything 😉</p>
]]></description><link>https://community.windy.com/post/20440</link><guid isPermaLink="true">https://community.windy.com/post/20440</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Thu, 04 Apr 2019 06:45:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Thu, 04 Apr 2019 06:41:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gegax" aria-label="Profile: GeGaX">@<bdi>GeGaX</bdi></a></p>
<p dir="auto">That happens,  because the max resolution of the alphanum code is 0.01deg,  thus 36 seconds (about 1km).</p>
<p dir="auto">made code a bit shorter:</p>
<pre><code>function createCoordCode(coords){
    let ar=[];
    for (let i=98;i &lt; 123;i++)ar.push(String.fromCharCode(i));
    for (let i=65;i &lt; 91;i++)ar.push(String.fromCharCode(i));
    for (let i=0;i &lt; 9;i++)ar.push(i);

    let lat=Math.round(100*(coords.lat+90));
    let lon=Math.round(100*(coords.lon+180));

    return "m:"
            +ar[Math.floor(lat/3600)]
            +ar[Math.floor((lat%3600)/60)]
            +ar[lat%60]+"a"
            +ar[Math.floor(lon/3600)]
            +ar[Math.floor((lon%3600)/60)]
            +ar[lon%60];
}
console.log(createCoordCode({lat:38,lon:-30}));
</code></pre>
]]></description><link>https://community.windy.com/post/20439</link><guid isPermaLink="true">https://community.windy.com/post/20439</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Thu, 04 Apr 2019 06:41:32 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 22:28:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a><br />
<img src="https://i.postimg.cc/xd8sysqS/Capture-d-e-cran-2019-04-04-a-00-21-11.png" alt="alt text" class=" img-fluid img-markdown" /><br />
I have a shift of 7 second North and 11 second West between the real position and Windy position.<br />
What should I correct in your code to obtain an identical position?<br />
Thanks again for the code, it's cool 😉</p>
]]></description><link>https://community.windy.com/post/20436</link><guid isPermaLink="true">https://community.windy.com/post/20436</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Wed, 03 Apr 2019 22:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 21:25:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a> Thanks, I test it and tell you 😉</p>
]]></description><link>https://community.windy.com/post/20431</link><guid isPermaLink="true">https://community.windy.com/post/20431</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Wed, 03 Apr 2019 21:25:07 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 20:23:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gegax" aria-label="Profile: GeGaX">@<bdi>GeGaX</bdi></a></p>
<p dir="auto">JS function for you:</p>
<pre><code>function createCoordCode(coords){
    let ar=[];
    for (let i=98; i &lt; 123; i++) ar.push(String.fromCharCode(i));
    for (let i=65; i &lt; 91; i++) ar.push(String.fromCharCode(i));
    for (let i=0; i &lt; 9; i++) ar.push(i);

    let lat=Math.round(100*(coords.lat+90));
    let lon=Math.round(100*(coords.lon+180));

    lt1=Math.floor(lat/3600);
    lt2=Math.floor((lat-lt1*3600)/60);
    lt3=lat-lt1*3600-lt2*60;

    ln1=Math.floor(lon/3600);
    ln2=Math.floor((lon-ln1*3600)/60);
    ln3=lon-ln1*3600-ln2*60;

    return "m:"+ar[lt1]+ar[lt2]+ar[lt3]+"a"+ar[ln1]+ar[ln2]+ar[ln3];
}

console.log(createCoordCode({lat:-29,lon:100}));
</code></pre>
]]></description><link>https://community.windy.com/post/20429</link><guid isPermaLink="true">https://community.windy.com/post/20429</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Wed, 03 Apr 2019 20:23:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 19:31:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jmh2002" aria-label="Profile: jmh2002">@<bdi>jmh2002</bdi></a> It is for a boat that sails so I have to create the "geohash" according to lat, lon</p>
]]></description><link>https://community.windy.com/post/20427</link><guid isPermaLink="true">https://community.windy.com/post/20427</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Wed, 03 Apr 2019 19:31:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 19:16:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rittels" aria-label="Profile: rittels">@<bdi>rittels</bdi></a> Ok thanks, I'm going to look on that side</p>
]]></description><link>https://community.windy.com/post/20426</link><guid isPermaLink="true">https://community.windy.com/post/20426</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Wed, 03 Apr 2019 19:16:22 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 14:07:53 GMT]]></title><description><![CDATA[<p dir="auto">geohash type of system.</p>
<p dir="auto">Seems to be alphanumeric:  starting bcd...z, A...Z, 0....8  (thus base 60),  increments of 0.01 degree.   Starting lat -90 and lon -180.</p>
<p dir="auto">there is an "a"  between the lat and lon.</p>
]]></description><link>https://community.windy.com/post/20422</link><guid isPermaLink="true">https://community.windy.com/post/20422</guid><dc:creator><![CDATA[rittels]]></dc:creator><pubDate>Wed, 03 Apr 2019 14:07:53 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 11:53:51 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://www.windy.com/?gfs,38.284,-37.430,8,i:pressure,m:eJNae6w" rel="nofollow ugc">https://www.windy.com/?gfs,38.284,-37.430,8,i:pressure,m:eJNae6w</a></p>
<p dir="auto">Your above URL works for me and immediately displays the marker.</p>
<p dir="auto">Please note that after the page loads the url changes.</p>
<p dir="auto">In general, load the page and all info / layers that you want, with correct zoom level, etc, and after click in the location you want to add the marker. Then copy the URL.</p>
<p dir="auto">Careful checking of the URL shows which parts load different info.</p>
<p dir="auto">If you want a very accurate location (eg: your house) you can also use the same method in the opposite way:</p>
<p dir="auto">zoom all the way in, click on your house to show the marker, then zoom out, set layers, etc, and after copy the url.</p>
<p dir="auto">Hope this helps :)</p>
]]></description><link>https://community.windy.com/post/20415</link><guid isPermaLink="true">https://community.windy.com/post/20415</guid><dc:creator><![CDATA[jmh2002]]></dc:creator><pubDate>Wed, 03 Apr 2019 11:53:51 GMT</pubDate></item><item><title><![CDATA[Reply to How to create marker on URL on Wed, 03 Apr 2019 08:40:23 GMT]]></title><description><![CDATA[<p dir="auto">Nobody knows ? 😢</p>
]]></description><link>https://community.windy.com/post/20412</link><guid isPermaLink="true">https://community.windy.com/post/20412</guid><dc:creator><![CDATA[GeGaX]]></dc:creator><pubDate>Wed, 03 Apr 2019 08:40:23 GMT</pubDate></item></channel></rss>