<?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[Error map.openPopup is not a function]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm new here, I'm testing free api because the service seems to be very interesting but I want to be sure Windy will fit all my business requirements. I've just tryed to reproduce this tutorial <a href="https://api.windy.com/map-forecast/examples/hello-world" rel="nofollow ugc">https://api.windy.com/map-forecast/examples/hello-world</a> but when I call <em>openOn</em> function an error occured: <em>Uncaught TypeError: map.openPopup is not a function</em>. I already use Leaflet map in another scenario into my website and I do not have this error. I'm able to open popup, add marker, layers and so on. Is this a problem related to free api key I'm using or there could be something I do wrong? Thanks</p>
]]></description><link>https://community.windy.com/topic/15395/error-map-openpopup-is-not-a-function</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 04:43:40 GMT</lastBuildDate><atom:link href="https://community.windy.com/topic/15395.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 09 Feb 2021 17:08:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error map.openPopup is not a function on Wed, 10 Feb 2021 12:01:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/korina" aria-label="Profile: korina">@<bdi>korina</bdi></a> Hi, sorry but I don't understand how the post you suggested can help me. My code is the same as the tutorial but the error I mentioned in ther previous post occurs.<br />
Here is my js code:</p>
<pre><code>var options = {
    key: '**MY KEY**',
    verbose: true,
    lat: 50.4,
    lon: 14.3,
    zoom: 5,
};
windyInit(options, function (windyAPI) {
    vm.map = windyAPI;
    L.popup()
    .setLatLng([50.4, 14.3])
    .setContent('&lt;p&gt;Hello world!&lt;br /&gt;This is a nice popup.&lt;/p&gt;')
    .openOn(vm.map);
});
</code></pre>
]]></description><link>https://community.windy.com/post/70494</link><guid isPermaLink="true">https://community.windy.com/post/70494</guid><dc:creator><![CDATA[flimuti]]></dc:creator><pubDate>Wed, 10 Feb 2021 12:01:54 GMT</pubDate></item><item><title><![CDATA[Reply to Error map.openPopup is not a function on Wed, 10 Feb 2021 09:00:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/flimuti" aria-label="Profile: flimuti">@<bdi>flimuti</bdi></a> Hello, this post may help you - <a href="https://community.windy.com/topic/12109/how-to-show-temperature-instead-of-wind-when-loading-a-map?_=1612947579826">https://community.windy.com/topic/12109/how-to-show-temperature-instead-of-wind-when-loading-a-map?_=1612947579826</a></p>
]]></description><link>https://community.windy.com/post/70460</link><guid isPermaLink="true">https://community.windy.com/post/70460</guid><dc:creator><![CDATA[Korina]]></dc:creator><pubDate>Wed, 10 Feb 2021 09:00:54 GMT</pubDate></item></channel></rss>