<?xml version="1.0" encoding="utf-8"?> 
<rss version="2.0"
  xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
  xmlns:atom="http://www.w3.org/2005/Atom">

<channel>

<title>Блог: заметки с тегом yandexmap</title>
<link>https://utata.ru/tags/yandexmap/</link>
<description>konditerov.ru</description>
<author>Илья Кондитеров</author>
<language>ru</language>
<generator>E2 (v3877; Aegea)</generator>

<itunes:owner>
<itunes:name>Илья Кондитеров</itunes:name>
<itunes:email></itunes:email>
</itunes:owner>
<itunes:subtitle>konditerov.ru</itunes:subtitle>
<itunes:image href="" />
<itunes:explicit></itunes:explicit>

<item>
<title>Отключаем yandexmap.drag на мобильных устройствах</title>
<guid isPermaLink="false">9</guid>
<link>https://utata.ru/all/otklyuchaem-yandexmap-drag-na-mobilnyh-ustroystvah/</link>
<pubDate>Thu, 18 Feb 2016 17:36:00 +0300</pubDate>
<author>Илья Кондитеров</author>
<comments>https://utata.ru/all/otklyuchaem-yandexmap-drag-na-mobilnyh-ustroystvah/</comments>
<description>
&lt;pre class="e2-text-code"&gt;&lt;code class=""&gt;/* Определяем мобильный ли браузер*/
    var isMobile = {
      Android: function() {
        return navigator.userAgent.match(/Android/i);
      },
      BlackBerry: function() {
        return navigator.userAgent.match(/BlackBerry/i);
      },
      iOS: function() {
        return navigator.userAgent.match(/iPhone|iPad|iPod/i);
      },
      Opera: function() {
        return navigator.userAgent.match(/Opera Mini/i);
      },
      Windows: function() {
        return navigator.userAgent.match(/IEMobile/i);
      },
      any: function() {
        return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
      }
    };
/* Запрещаем нахуй драг с мобилы*/
    if(isMobile.any()){
      myMap[[+idMap]].behaviors.disable('drag');
    }
 /* Выключаем скрол */
    myMap[[+idMap]].behaviors.disable('scrollZoom');&lt;/code&gt;&lt;/pre&gt;</description>
</item>


</channel>
</rss>