{"id":230215,"date":"2014-07-17T16:08:03","date_gmt":"2014-07-17T12:08:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=230215"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=230215","title":{"rendered":"<span class=\"post_title\">\u0413\u0435\u043d\u043f\u043b\u0430\u043d \u043f\u043e\u0441\u0451\u043b\u043a\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u042f\u043d\u0434\u0435\u043a\u0441 api v2 \u0438\u043b\u0438 \u043a\u0430\u043a \u0441\u043e\u043e\u0442\u043d\u0435\u0441\u0442\u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0438 \u043a\u0430\u0440\u0442\u044b<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/6bb\/177\/5d9\/6bb1775d9b83d5e50ce007f83ca06545.jpg\" alt=\"\u0413\u0435\u043d\u043f\u043b\u0430\u043d \u043f\u043e\u0441\u0451\u043b\u043a\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u042f\u043d\u0434\u0435\u043a\u0441 api\"\/><br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h5>\u0426\u0435\u043b\u044c \u043d\u0430\u0448\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432:<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u0430\u0440\u0442\u0443 \u0441 \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u043d\u0430\u043c \u043e\u0442\u043c\u0435\u0442\u043a\u0430\u043c\u0438 <i>(\u043e\u0442\u043c\u0435\u0442\u043a\u0438 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0438 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0442\u044c\u0441\u044f \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445)<\/i>.<\/li>\n<li>\u041f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043d\u0430 \u043e\u0442\u043c\u0435\u0442\u043a\u0443 \u0432\u044b\u0434\u0430\u0451\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043d\u0435\u0439 <i>(\u043d\u043e\u043c\u0435\u0440 \u0434\u043e\u043c\u0430)<\/i>. <\/li>\n<li>\u041f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043d\u0430 \u043e\u0442\u043c\u0435\u0442\u043a\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 <i>(\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435)<\/i> \u043e\u0442\u043c\u0435\u0442\u043a\u0438.<\/li>\n<li>\u041a\u0430\u0440\u0442\u0430 \u0438\u043c\u0435\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438.<\/li>\n<\/ul>\n<p>  \u0418\u043d\u043e\u0433\u0434\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044e \u043f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u043a\u0430\u0440\u0442\u044b \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e \u043c\u0435\u0441\u0442\u043d\u043e\u0441\u0442\u0438. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u042f\u043d\u0434\u0435\u043a\u0441 \u043a\u0430\u0440\u0442\u044b, <a href=\"http:\/\/api.yandex.ru\/maps\/doc\/jsapi\/1.x\/dg\/concepts\/ymapstiler.xml.\">\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u0441\u043b\u043e\u0438<\/a>, <a href=\"http:\/\/api.yandex.ru\/maps\/doc\/jsapi\/1.x\/articles\/tasks\/usermaps.xml\">\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u043e\u0438\u043c\u0438 \u043a\u0430\u0440\u0442\u0430\u043c\u0438<\/a>. \u0412\u043e \u043c\u043d\u043e\u0433\u043e\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u0430 \u0437\u0430\u0447\u0435\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u0443 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0435\u0441\u0442\u044c \u043d\u0430 \u044d\u0442\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0421\u0440\u0430\u0437\u0443 \u043e\u0442\u0432\u0435\u0447\u0430\u044e \u0443 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 \u0435\u0441\u0442\u044c \u043d\u0430 \u044d\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u0430 \u043d\u0430 \u043a\u0430\u0436\u0434\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u0440\u0435\u0448\u0435\u043d\u0438\u0439 \u043d\u0435\u0442.<\/p>\n<h5>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b:<\/h5>\n<p>  <\/p>\n<ul>\n<li>\u042f\u043d\u0434\u0435\u043a\u0441 API<\/li>\n<li>jQuery \u2014 \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0431\u044b\u043b \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435.<\/li>\n<li>\u041f\u041e \u043e\u0442 \u042f\u043d\u0434\u0435\u043a\u0441 \u00ab\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u043b\u043e\u044f \u0442\u0430\u0439\u043b\u043e\u0432\u00bb<\/li>\n<li>\u041a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 \u043e\u0442 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f <i>(\u043c\u043d\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 7987px \u043d\u0430 3607px \u044d\u0442\u043e\u0433\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442)<\/i><\/li>\n<li>Notepad++ \u0438 \u0440\u0443\u043a\u0438<\/li>\n<\/ul>\n<h5>\u0421\u0440\u0430\u0437\u0443 \u0432\u0438\u0434 \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438:<\/h5>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/fbc\/b8d\/551\/fbcb8d551d222788e46b5c0c188e2957.png\" alt=\"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b. \u0413\u0435\u043d\u043f\u043b\u0430\u043d \u043f\u043e\u0441\u0451\u043b\u043a\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u042f\u043d\u0434\u0435\u043a\u0441 api\"\/><\/p>\n<h5>\u041d\u0430\u0447\u043d\u0451\u043c \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0443 \u0442\u0430\u0439\u043b\u043e\u0432:<\/h5>\n<p>  \u0421\u0442\u0430\u0432\u0438\u043c \u0442\u043e\u0447\u043a\u0438 \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u0440\u0430\u0439\u043d\u0438\u0439 \u0443\u0433\u043e\u043b, \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u043e\u0440\u044b \u0438\u043c (\u044f \u0441 \u044d\u0442\u0438\u043c \u043d\u0430\u0448\u0451\u043b \u043d\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u0441\u043e\u0437\u0434\u0430\u043b \u043f\u043e\u043b\u0443 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438 \u043f\u043e\u0434\u043b\u043e\u0436\u0438\u043b \u043d\u0430 \u043a\u0430\u0440\u0442\u0443). \u0415\u0441\u043b\u0438 \u0442\u043e\u0447\u043a\u0438 \u043a\u0430\u043a-\u0442\u043e \u0431\u0443\u0434\u0443\u0442 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u043f\u043e \u043f\u0440\u043e\u043f\u043e\u0440\u0446\u0438\u044f\u043c \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0435\u0441\u0442\u044c \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0442.\u0435. \u043f\u043e\u0434\u0433\u043e\u043d\u044f\u0442 \u043f\u043e\u0434 \u043a\u0430\u0440\u0442\u0443 \u2014 \u043d\u0430\u043c \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u043d\u0430\u0434\u043e!!!<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/40a\/5eb\/e89\/40a5ebe89f4080eae27ea6334f89af20.png\" alt=\"\u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0443 \u0442\u0430\u0439\u043b\u043e\u0432\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043c\u0443\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u043a \u0442\u043e\u0447\u0435\u043a \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u043d\u0430\u0448\u0438 \u0442\u0430\u0439\u043b\u043e\u0432. \u0412 \u0438\u0442\u043e\u0433\u0438 \u0443 \u0432\u0430\u0441 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u0439\u0442\u0438 \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u043e\u0434\u043e\u0431\u0438\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/530\/479\/34b\/53047934bed29d570a3100fe204a5440.jpg\" alt=\"\u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0438 \u0442\u0430\u0439\u043b\u043e\u0432\"\/><\/p>\n<p>  \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u043d\u0430\u0440\u0435\u0437\u043a\u0438 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c 256\u0445256 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u0430\u043f\u043a\u0430\u0445 \u0434\u043b\u044f \u0437\u0443\u043c\u043c\u0435\u0440\u0430. \u041a\u043e\u043b-\u0432\u043e \u043f\u0430\u043f\u043e\u043a \u0438 \u0438\u0445 \u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u043a\u043e\u043b-\u0432\u043e \u0437\u0443\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438.<\/p>\n<h5>\u041c\u0435\u043d\u044f\u0435\u043c \u0432 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u043d\u0430:<\/h5>\n<p>  <\/p>\n<pre><code class=\"html\">&lt;script type=&quot;text\/javascript&quot; src=&quot;http:\/\/code.jquery.com\/jquery-1.11.0.min.js&quot;&gt;&lt;\/script&gt; &lt;script src=&quot;http:\/\/api-maps.yandex.ru\/2.0\/?load=package.standard,package.geoObjects&lang=ru-RU&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt;     &lt;script src=&quot;app.js&quot; type=&quot;text\/javascript&quot;&gt;&lt;\/script&gt; <\/code><\/pre>\n<p>  \u0412 \u043d\u0443\u0442\u0440\u0438 \u0442\u0435\u0433\u0430 <b>body<\/b> \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e:  <\/p>\n<pre><code class=\"html\">&lt;div id=&quot;YMapsID&quot;&gt;&lt;\/div&gt; &lt;!--\u043d\u0443 \u0438 \u0441\u0440\u0430\u0437\u0443 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430\u0448\u0438 \u0442\u043e\u0447\u043a\u0438 --&gt; &lt;map id=&quot;ImageMapsCom&quot; name=&quot;image-maps&quot;&gt;     &lt;a href=&quot;\/catalog\/projects\/aleksandrovskij_21186_kvm3\/&quot;        alt=&quot;\u0422\u0430\u0442\u044c\u044f\u043d\u0438\u043d\u0441\u043a\u0438\u0439&quot;        title=&quot;\u0443\u043b. \u0414\u043e\u043c\u0431\u0430\u0441\u043e\u0432\u0430 1a&quot;        data-maps=&quot;2042,239,2137,331&quot;        class=&quot;hause_items_shows&quot;        data-info=&quot;1310&quot;&gt;         &lt;div class=&quot;show-items-info&quot;&gt;             &lt;img src=&quot;\/images\/cms\/data\/catalog\/12.jpg&quot; alt=&quot;&quot;&gt;&lt;div class=&quot;description-house&quot;&gt;             &lt;p class=&quot;status&quot;&gt;&lt;span&gt;\u0421\u043e\u0442\u043e\u044f\u043d\u0438\u044f:&lt;\/span&gt;&lt;span color=&quot;1716&quot;&gt;\u041f\u0440\u043e\u0434\u0430\u043d&lt;\/span&gt;&lt;\/p&gt;&lt;p class=&quot;plowad&quot;&gt;&lt;span&gt;\u041f\u043b\u043e\u0449\u0430\u0434\u044c: &lt;\/span&gt;5,05&lt;\/p&gt;&lt;p class=&quot;stoimost&quot;&gt;&lt;span&gt;\u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c: &lt;\/span&gt;&lt;\/p&gt;&lt;\/div&gt;&lt;\/div&gt;     &lt;\/a&gt;     &lt;a href=&quot;\/catalog\/projects\/aleksandrovskij_21186_kvm3\/&quot;        alt=&quot;\u0422\u0430\u0442\u044c\u044f\u043d\u0438\u043d\u0441\u043a\u0438\u0439 265,29 \u043a\u0432.\u043c.&quot;        title=&quot;\u041c\u0410\u0413\u0410\u0417&quot;        data-maps=&quot;1319,1237,1441,1339&quot;        class=&quot;hause_items_shows&quot;        data-info=&quot;1310&quot;&gt;         &lt;div class=&quot;show-items-info&quot;&gt;             &lt;img src=&quot;http:\/\/adveks.gowhiterabbit.ru\/images\/cms\/data\/content\/minimarket.png&quot;&gt;         &lt;\/div&gt;     &lt;\/a&gt; &lt;!--\u0438 \u0434\u0430\u043b\u044c\u0448\u0435 . . . . --&gt; &lt;\/map&gt; <\/code><\/pre>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0436\u043a\u043e \u0441 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u0442\u0438\u043b\u0435\u043c \u043a\u0430\u0440\u0442\u044b, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u043d\u0430\u0448 \u0441\u0442\u0438\u043b\u044c:  <\/p>\n<pre><code class=\"css\">#YMapsID {  width: 100%;  height: 100%;  min-height: 600px; } #YMapsID &gt; ymaps {  background: url(&quot;bg.png&quot;) repeat scroll 0 0 rgba(0, 0, 0, 0); } #YMapsID .ymaps-copyrights-pane, #YMapsID .ymaps-controls-rightbottom {  display: none; } #YMapsID.hause_items_shows{  display: none; } #YMapsID.show-items-info {  background: none repeat scroll 0 0 rgba(253, 250, 243, 0.8);  left: 0;  padding: 15px;  top: 0;  width: 250px;  z-index: 19; } <\/code><\/pre>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043a\u0430\u0440\u0442\u044b:  <\/p>\n<pre><code class=\"javascript\">var options = {     tileUrlTemplate: &quot;.\/%z\/tile-%x-%y.png&quot;,     controls: {         typeControl: true,         miniMap: false,         toolBar: true,         scaleLine: true     },     scrollZoomEnabled: true,     mapCenter: new YMaps.GeoPoint( \u0414\u043e\u043b\u0433\u043e\u0442\u0430 , \u0428\u0438\u0440\u043e\u0442\u0430 ),     backgroundMapType: YMaps.MapType.NONE,     mapZoom: 17,     isTransparent: true,     smoothZooming: false,     layerKey: &quot;my#layer&quot;,     mapType: {         name: &quot;\u0413\u0435\u043d\u043f\u043b\u0430\u043d&quot;,         textColor: &quot;#000000&quot;     },     copyright: &quot;&quot;,     layerMinZoom: 16,     layerMaxZoom: 20 }; <\/code><\/pre>\n<h5>\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0434\u044b\u043d\u043d\u044b\u0445 \u0438\u0437 \u0432\u044b\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445<\/h5>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0438\u0437 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 (\u043f\u043e \u043f\u0438\u043a\u0441\u0435\u043b\u0430\u043c) \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043a\u0430\u0440\u0442\u044b (\u0433\u0440\u0430\u0434\u0443\u0441\u044b) \u0442.\u0435. \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u043c \u043f\u0438\u043a\u0441\u0435\u043b\u0438 \u0432 \u0433\u0440\u0430\u0434\u0443\u0441\u044b.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/770\/c5d\/4e5\/770c5d4e5f5c2cbaced23344c6ab316e.jpg\" alt=\"\u0444\u043e\u0440\u043c\u0443\u043b\u0430 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u043f\u0438\u043a\u0441\u0435\u043b\u0435\u0439 \u0432 \u0433\u0440\u0430\u0434\u0443\u0441\u044b\"\/>  <\/p>\n<pre><code class=\"javascript\">var contentString = new Array(); function strat_masiv() {     var clo_in=0;     $('#ImageMapsCom .hause_items_shows').each(function (_index, _label) {         var blocks = $(_label);         contentString[clo_in] = new Array();         var bjects_alt = $(blocks).attr('alt');         var example = $(blocks).attr('data-maps').split(',');         var max_x_dpi = 39.05776, \/\/ \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u044b             max_x_px = 7986, \/\/ \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438             min_x_dpi = 39.048469, \/\/ \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u044b             max_y_dpi = 51.74439, \/\/ \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u044b             max_y_px = 3606, \/\/ \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438             min_y_dpi = 51.747;\/\/ \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043a\u0430\u0440\u0442\u044b         contentString[clo_in][0] = $(blocks).attr('title');         contentString[clo_in][1] = $(blocks).html();         \/\/\u041f\u0440\u0430\u0432\u044b\u0439 Y         contentString[clo_in][2] = min_y_dpi+((((parseInt(example[1], 10)*100)\/max_y_px)*(max_y_dpi-min_y_dpi))\/100);         \/\/\u041f\u0440\u0430\u0432\u044b\u0439 X         contentString[clo_in][3] = min_x_dpi+((((parseInt(example[0], 10)*100)\/max_x_px)*(max_x_dpi-min_x_dpi))\/100);         contentString[clo_in][4] = $(blocks).attr('href');         contentString[clo_in][5] = '';         \/\/\u041b\u0435\u0432\u044b\u0439 Y         contentString[clo_in][6] = min_y_dpi+((((parseInt(example[3], 10)*100)\/max_y_px)*(max_y_dpi-min_y_dpi))\/100);         \/\/\u041f\u0440\u0430\u0432\u044b\u0439 X         contentString[clo_in][7] = min_x_dpi+((((parseInt(example[2], 10)*100)\/max_x_px)*(max_x_dpi-min_x_dpi))\/100);         clo_in++      });     console.log('Y='+contentString[0][6]+' x='+contentString[0][7]); }     ymaps.ready(function () {         strat_masiv();          \/\/ \u041f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043a\u043b\u0430\u0441\u0441\u0430 TilerConverter \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043a\u0430\u0440\u0442\u0443.         var myMap = (new TilerConverter(options)).getMap();         \/\/\u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0442\u043e\u0447\u043a\u0438         for (var i = 0; i &lt; contentString.length; i++) {             contentString[i][5] = new ymaps.Rectangle([                 [contentString[i][2],contentString[i][3]],                 [contentString[i][6],contentString[i][7]]             ], {                 balloonContentHeader: contentString[i][0],                 balloonContent: contentString[i][1],                 balloonContentFooter: &quot;&lt;a href='&quot; + contentString[i][4] + &quot;'&gt;\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0439&lt;\/a&gt;&quot;,                 hintContent: contentString[i][0]             }, {                 fillColor: '#7df9ff33',                 fillOpacity: 0.5,                 strokeColor: '#0000FF',                 strokeOpacity: 0.5,                 strokeWidth: 2,                 borderRadius: 6             });             myMap.geoObjects.add(contentString[i][5]);         }; }); <\/code><\/pre>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u0441\u0435\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u043f\u043e \u0432\u0430\u0448\u0435\u043c\u0443 \u0436\u0435\u043b\u0430\u043d\u0438\u044e, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0432\u0438\u0434\u0435\u0442\u044c \u044d\u0442\u0438 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u043a \u0432\u043e\u043a\u0440\u0443\u0433 \u0434\u043e\u043c\u0438\u043a\u043e\u0432 \u0441\u0442\u0430\u0432\u0438\u043c:  <\/p>\n<pre><code class=\"javascript\"> fillOpacity: 0,  strokeOpacity: 0, <\/code><\/pre>\n<p>  <a href=\"https:\/\/yadi.sk\/d\/aYDFfYT6WipJn\">\u041f\u043e\u043b\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432<\/a><br \/>  <a href=\"https:\/\/github.com\/DeathError\/yandexMAPS_apiv2\/tree\/standatr\">\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439!<\/a> \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/230215\/\"> http:\/\/habrahabr.ru\/post\/230215\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/6bb\/177\/5d9\/6bb1775d9b83d5e50ce007f83ca06545.jpg\" alt=\"\u0413\u0435\u043d\u043f\u043b\u0430\u043d \u043f\u043e\u0441\u0451\u043b\u043a\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u042f\u043d\u0434\u0435\u043a\u0441 api\"\/>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-230215","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/230215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230215"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/230215\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}