{"id":390978,"date":"2024-06-29T09:33:42","date_gmt":"2024-06-29T09:33:42","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=390978"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=390978","title":{"rendered":"<span>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438. GMAP C#<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/764\/02f\/c0b\/76402fc0bcfbc15f04da78201a3ca4d2.png\" width=\"1280\" height=\"720\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/764\/02f\/c0b\/76402fc0bcfbc15f04da78201a3ca4d2.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u0435\u043d\u044f \u043f\u043e\u0434\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043d\u0435 \u0441\u0442\u043e\u043b\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 GMap \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u043a\u0430\u043a \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b.<\/p>\n<p>\u0421\u0442\u043e\u044f\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043f\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.<\/p>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u0443 \u043f\u043e\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0441\u0432\u043e\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u2013 \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0441 WinForm, \u0430 \u043d\u0435 \u0441 WPF \u0442.\u043a. \u043f\u0440\u043e\u0449\u0435 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u044b\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e \u043d\u0435\u0439.<\/p>\n<p>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u044f\u0442\u0441\u044f \u0432 \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435:<\/p>\n<ul>\n<li>\n<p><strong>\u0422\u0430\u0439\u043b\u043e\u0432\u0430\u044f, \u043f\u043b\u0438\u0442\u043e\u0447\u043d\u0430\u044f<\/strong>\u00a0\u0438\u043b\u0438\u00a0<strong>\u0437\u043d\u0430\u043a\u043e\u043c\u0435\u0441\u0442\u043d\u0430\u044f<\/strong>\u00a0\u0433\u0440\u0430\u0444\u0438\u043a\u0430 (\u043e\u0442 \u0430\u043d\u0433\u043b. tile \u2014 \u043f\u043b\u0438\u0442\u043a\u0430) \u2014 \u043c\u0435\u0442\u043e\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 (\u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0445 \u0438\u0433\u0440\u0430\u0445) \u0438\u0437 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432<\/p>\n<\/li>\n<li>\n<p><strong>\u0422\u0430\u0439\u043b<\/strong>\u00a0\u2014 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043b\u043e\u0439<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0441 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0439 \u043f\u043b\u0435\u043d\u043a\u043e\u0439, \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<li>\n<p><strong>\u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/strong>\u00a0\u2014 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0433\u0434\u0435 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0446\u0432\u0435\u0442\u0430. \u0422\u0435\u0440\u043c\u0438\u043d \u00abheatmap\u00bb \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u043b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d \u0438 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u0442\u043e\u0432\u0430\u0440\u043d\u044b\u0439 \u0437\u043d\u0430\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u041a\u043e\u0440\u043c\u0430\u043a\u043e\u043c \u041a\u0438\u043d\u043d\u0438 \u0432 1991 \u0433\u043e\u0434\u0443.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9F%D0%BE%D0%BB%D0%B8%D0%B3%D0%BE%D0%BD_(%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80%D0%BD%D0%B0%D1%8F_%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%BA%D0%B0)\" rel=\"noopener noreferrer nofollow\"><strong>\u041f\u043e\u043b\u0438\u0433\u043e\u043d<\/strong><\/a><strong>\u00a0<\/strong>\u2014\u00a0\u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0435.<\/p>\n<\/li>\n<li>\n<p><strong>\u041c\u0430\u0440\u043a\u0435\u0440\u00a0<\/strong>\u2014 \u043e\u0442\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439.<\/p>\n<p>\u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f GMap.NET.Core.dll \u0438 GMap.NET.WindowsForms.dll \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Nuget.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/6ee\/e2f\/0f3\/6eee2f0f3ef4dbd9dfe43b415ab0c915.png\" width=\"1024\" height=\"282\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6ee\/e2f\/0f3\/6eee2f0f3ef4dbd9dfe43b415ab0c915.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0438\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c dll \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/64d\/99a\/c6a\/64d99ac6a347c83876583ccc0c1e8e79.png\" width=\"742\" height=\"357\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/64d\/99a\/c6a\/64d99ac6a347c83876583ccc0c1e8e79.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043c\u044b\u0448\u0438 \u043f\u0430\u043d\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b\u2026\u00bb. \u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043e\u043a\u043d\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043d\u043e\u043f\u043a\u0438 \u00ab\u041e\u0431\u0437\u043e\u0440\u00bb \u043d\u0430\u0439\u0434\u0438\u0442\u0435 \u0444\u0430\u0439\u043b GMap.NET.WindowsForms.dll:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ad2\/3e2\/74d\/ad23e274d0f33e33696e58835f599bb6.png\" width=\"671\" height=\"481\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ad2\/3e2\/74d\/ad23e274d0f33e33696e58835f599bb6.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u043a\u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u043d\u0430\u0431\u043e\u0440\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u0444\u043e\u0440\u043c\u0443 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u044b.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u044d\u0432\u0435\u043d\u0442 (\u0441\u043e\u0431\u044b\u0442\u0438\u0435) \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u0430\u043b\u0430.<\/p>\n<figure class=\"\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/000\/c0e\/288\/000c0e2886b766a4461581f1893fd030.png\" width=\"365\" height=\"435\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/000\/c0e\/288\/000c0e2886b766a4461581f1893fd030.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u0434:<\/p>\n<pre><code>GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerAndCache; \/\/\u0432\u044b\u0431\u043e\u0440 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u0430\u0440\u0442\u044b \u2013 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u043b\u0438 \u0438\u0437 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432             gMapControl1.MapProvider = GMap.NET.MapProviders.GoogleMapProvider.Instance; \/\/\u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043a\u0430\u0440\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0433\u0443\u0433\u043b)              gMapControl1.MinZoom = 2; \/\/\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0443\u043c             gMapControl1.MaxZoom = 16; \/\/\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0443\u043c            gMapControl1.Zoom = 4; \/\/ \u043a\u0430\u043a\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u0443\u043c \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438             gMapControl1.Position = new GMap.NET.PointLatLng(66.4169575018027, 94.25025752215694);\/\/ \u0442\u043e\u0447\u043a\u0430 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 (\u0446\u0435\u043d\u0442\u0440 \u0420\u043e\u0441\u0441\u0438\u0438)             gMapControl1.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; \/\/ \u043a\u0430\u043a \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0430\u0435\u0442 (\u043f\u0440\u043e\u0441\u0442\u043e \u0432 \u0446\u0435\u043d\u0442\u0440 \u043a\u0430\u0440\u0442\u044b \u0438\u043b\u0438 \u043f\u043e \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043c\u044b\u0448\u0438)             gMapControl1.CanDragMap = true; \/\/ \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u043c\u044b\u0448\u044c\u044e             gMapControl1.DragButton = MouseButtons.Left; \/\/ \u043a\u0430\u043a\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435             gMapControl1.ShowCenter = false; \/\/\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043a\u0440\u0435\u0441\u0442\u0438\u043a \u0432 \u0446\u0435\u043d\u0442\u0440\u0435             gMapControl1.ShowTileGridLines = false; \/\/\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0442\u0430\u0439\u043b\u044b<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430. \u041a\u0430\u0440\u0442\u0430 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u0442\u0430\u0439\u043b\u0430\u043c\u0438. \u0422\u0430\u0439\u043b\u044b \u0438 \u043a\u0440\u0435\u0441\u0442 \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b.<\/p>\n<p><strong>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439. \u041c\u0430\u0440\u043a\u0435\u0440\u044b<\/strong><\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043c\u0430\u0440\u043a\u0435\u0440 \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u043d\u0430 \u043a\u0430\u0440\u0442\u0443. \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0443\u044e \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043c\u0430\u0440\u043a\u0435\u0440. \u0412 \u043a\u043e\u0434\u0435 \u043d\u0438\u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: \u043a\u043b\u0430\u0441\u0441\u044b Us \u043e\u0442\u043a\u0443\u0434\u0430 \u044f \u0431\u0435\u0440\u0443 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u00a0<strong>gMarkerGoogleType<\/strong>\u00a0\u2013 \u0442\u0438\u043f \u043c\u0430\u0440\u043a\u0435\u0440\u0430.<\/p>\n<pre><code>private GMarkerGoogle GetMarker(Us us, GMarkerGoogleType gMarkerGoogleType= GMarkerGoogleType.red)         {             GMarkerGoogle mapMarker = new GMarkerGoogle(new GMap.NET.PointLatLng(us.\u0441oordinates[0].lat, us.\u0441oordinates[0].lon), gMarkerGoogleType);\/\/\u0448\u0438\u0440\u043e\u0442\u0430, \u0434\u043e\u043b\u0433\u043e\u0442\u0430, \u0442\u0438\u043f \u043c\u0430\u0440\u043a\u0435\u0440\u0430             mapMarker.ToolTip = new GMap.NET.WindowsForms.ToolTips.GMapRoundedToolTip(mapMarker);\/\/\u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043e\u043a\u043d\u043e \u0441 \u0438\u043d\u0444\u043e\u0439 \u043a \u043c\u0430\u0440\u043a\u0435\u0440\u0443             mapMarker.ToolTipText = us.id; \/\/ \u0442\u0435\u043a\u0441\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043e\u043a\u043d\u0430             mapMarker.ToolTipMode = MarkerTooltipMode.OnMouseOver; \/\/\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043e\u043a\u043d\u0430 (\u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438)             return mapMarker;         }<\/code><\/pre>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u00a0<strong>GMapOverlay\u00a0<\/strong>\u2013 \u044d\u0442\u043e \u0441\u043b\u043e\u0439, \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 \u0441\u043b\u043e\u0439 \u0432 Photoshop, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u0445\u043e\u043b\u0441\u0442 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0443 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432\u0441\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u044b.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0430\u044f \u0441\u043b\u043e\u0439 \u0441 \u043c\u0430\u0440\u043a\u0435\u0440\u0430\u043c\u0438. \u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u044f \u0438 \u0432\u0441\u0435 \u0442\u043e\u0442 \u0436\u0435 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u00a0<strong>gMarkerGoogleType<\/strong>.<\/p>\n<pre><code>private GMapOverlay GetOverlayMarkers(List&lt;Us> uss, string name, GMarkerGoogleType gMarkerGoogleType= GMarkerGoogleType.red)         {             GMapOverlay gMapMarkers = new GMapOverlay(name);\/\/ \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u044f              foreach (Us us in uss)             {                 gMapMarkers.Markers.Add(GetMarker(us, gMarkerGoogleType));\/\/ \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u043d\u0430 \u0441\u043b\u043e\u0439             }             return gMapMarkers;         }<\/code><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u044f. \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0443\u044e \u0441\u043b\u043e\u0439 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u043a \u0441\u043b\u043e\u044f\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0430 \u043a\u0430\u0440\u0442\u044b:<\/p>\n<pre><code>gMapControl1.Overlays.Add(GetOverlayMarkers(groups, \"GroupsMarkers\"));<\/code><\/pre>\n<p>\u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u043d\u043e \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0442\u0438\u043f\u043e\u0432 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432:<\/p>\n<pre><code>gMapControl1.Overlays.Add(GetOverlayMarkers(LUs, \" GroupsMarkers\", GMarkerGoogleType.blue));<\/code><\/pre>\n<p>\u041c\u043e\u0436\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \/ \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0438<\/p>\n<pre><code>gMapControl1.Overlays[0].IsVisibile = false;<\/code><\/pre>\n<p>\u0421\u043b\u043e\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b<\/p>\n<pre><code>gMapControl1.Update();\/\/ \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b<\/code><\/pre>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u0443 \u0441 \u043d\u0430\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u0430 \u043d\u0435\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u0430\u043c\u0438<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f1b\/e1b\/c92\/f1be1bc92cf71109e4945d4afa76af82.png\" width=\"1024\" height=\"313\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f1b\/e1b\/c92\/f1be1bc92cf71109e4945d4afa76af82.png\"\/><figcaption><\/figcaption><\/figure>\n<p><strong>\u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/strong><\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0435\u043f\u043b\u043e\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0443 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u0432 \u0440\u0430\u0439\u043e\u043d\u0430\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0433\u043e\u0440\u043e\u0434\u043e\u0432, \u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u0430\u0442\u044c \u0438 \u0434\u043e\u0431\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0440\u0430\u043d\u0438\u0446 \u044d\u0442\u0438\u0445 \u0440\u0430\u0439\u043e\u043d\u043e\u0432. \u0410 \u044d\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0440\u0443\u0434\u0430 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0430 \u0434\u0435\u0434\u043b\u0430\u0439\u043d, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0443\u0436\u0435 \u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u0440\u0442\u0443 \u043f\u043e \u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0430\u0446\u0438\u044f\u043c \u0432 \u0442\u0430\u0439\u043b\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u043e\u0441\u044c, \u0442\u0430\u0439\u043b\u044b \u043b\u0443\u0447\u0448\u0435 \u0431\u0440\u0430\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u0447\u0435\u043c \u0434\u043b\u044f \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0437\u0443\u043c\u0430. \u0418 \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u044f \u0434\u0435\u043b\u0430\u044e \u043d\u0430\u0431\u043e\u0440 \u0441\u043b\u043e\u0435\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u0443\u043c\u0430, \u0438 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0437\u0443\u043c\u0430 \u043c\u0435\u043d\u044f\u044e \u0441\u043b\u043e\u0439.<\/p>\n<p>\u041a\u043e\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u043b\u043e\u0435\u0432 \u0441 \u0446\u0432\u0435\u0442\u043d\u044b\u043c\u0438 \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043c\u0438:<\/p>\n<pre><code>public void GetHeatMap(List&lt;Us> LUs, string name, bool AllCoord = true)         {             MercatorProjection mercatorProjection = new MercatorProjection(); \/\/ \u043a\u043b\u0430\u0441\u0441 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 https:\/\/github.com\/radioman\/greatmaps\/blob\/master\/GMap.NET.Core\/GMap.NET.Projections\/MercatorProjection.cs#L73             for (int myZoom = gMapControl1.MinZoom + 3; myZoom &lt;= gMapControl1.MaxZoom + 3; myZoom++)             {                 GMapOverlay gMapOverlay = new GMapOverlay(name + myZoom); \/\/ \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u044f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0443\u043c                 int tileSizePx = (int)mercatorProjection.TileSize.Height; \/\/\u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0439\u043b\u0430                 List&lt;GPoint> gPoints = new List&lt;GPoint>();\/\/\u0441\u043f\u0438\u0441\u043e\u043a \u0442\u043e\u0447\u0435\u043a                  foreach (Us us in LUs)                 {                     if (AllCoord)                     {                         foreach (Coordinat coordinat in us.\u0441oordinates)                         {                             GPoint pixelCoord = mercatorProjection.FromLatLngToPixel(coordinat.lat, coordinat.lon, myZoom);                             gPoints.Add(new GPoint(pixelCoord.X \/ tileSizePx * tileSizePx, pixelCoord.Y \/ tileSizePx * tileSizePx));                         }                     }                     else                     {                         GPoint pixelCoord = mercatorProjection.FromLatLngToPixel(us.\u0441oordinates[0].lat, us.\u0441oordinates[0].lon, myZoom);\/\/\u0438\u0437 \u0448\u0438\u0440\u043e\u0442\u044b \u0434\u043e\u043b\u0433\u043e\u0442\u044b \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u0438                         gPoints.Add(new GPoint(pixelCoord.X \/ tileSizePx * tileSizePx, pixelCoord.Y \/ tileSizePx * tileSizePx));                     }                 }                 var group = gPoints.GroupBy(r => r).ToList();                 int TileMaxCount = group.Max(r => r.Count());\/\/ \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u043d\u0430 \u0442\u0430\u0439\u043b\u0435                 foreach (var item in group)                 {                     int minus = Convert.ToInt32(155 * item.Count() \/ TileMaxCount);\/\/\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0437 \u0420\u0413\u0411                     if (minus == 0) { minus++; }                     Color color = Color.FromArgb(200, 255, 155 - minus, 155 - minus);\/\/ \u0437\u0430\u0434\u0430\u0435\u043c \u0446\u0432\u0435\u0442 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f                     List&lt;PointLatLng> pointLatLngs = new List&lt;PointLatLng>()                 {                     mercatorProjection.FromPixelToLatLng(item.Key, myZoom),                     mercatorProjection.FromPixelToLatLng(item.Key.X+tileSizePx, item.Key.Y, myZoom),                     mercatorProjection.FromPixelToLatLng(item.Key.X+tileSizePx, item.Key.Y+tileSizePx, myZoom),                     mercatorProjection.FromPixelToLatLng(item.Key.X, item.Key.Y+tileSizePx, myZoom)                 }; \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u043e\u0447\u0435\u043a \u0434\u043b\u044f \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430                     GMapPolygon gMapPolygon = new GMapPolygon(pointLatLngs, item.Key.ToString()); \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0442\u043e\u0447\u0435\u043a                     gMapPolygon.Fill = new SolidBrush(color);\/\/ \u0437\u0430\u043b\u0438\u0432\u043a\u0430                     gMapPolygon.Stroke = new Pen(color, -1); \/\/ \u0440\u0430\u043c\u043a\u0430                     gMapPolygon.IsVisible = true; \/\/ \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c                      gMapOverlay.Polygons.Add(gMapPolygon); \/\/ \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0438\u0433\u043e\u043d                 }                 gMapControl1.Overlays.Add(gMapOverlay);\/\/ \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u043e\u0439                 GC.Collect();\/\/ \u0441\u0431\u043e\u0440 \u043c\u0443\u0441\u043e\u0440\u0430             }         }<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0437\u0443\u043c\u0430:<\/p>\n<pre><code>private void gMapControl1_OnMapZoomChanged()         {             if (AllPolygonsToolStripMenuItem.CheckState == CheckState.Checked)             {                 CheckHeatMap(\"AllPolygons\");                 gMapControl1.Update();             }         }<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code>private void CheckHeatMap(string name)         {             foreach (GMapOverlay gMapOverlay in gMapControl1.Overlays.Where(r => r.Id.Contains(\"Polygons\")))             {                 gMapOverlay.IsVisibile = false;             }\/\/ \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u0441\u043b\u043e\u0432\u043e \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u044b             if (name != null)             {                 name += gMapControl1.Zoom + 3;                 GMapOverlay gMapOverlaySearch = gMapControl1.Overlays.Where(r => r.Id == name).FirstOrDefault();                 gMapControl1.Overlays.Where(r => r.Id == name).FirstOrDefault().IsVisibile = true;\/\/\u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0441\u043b\u043e\u044f \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c             }         }<\/code><\/pre>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/086\/4c6\/1ac\/0864c61aca88dc2db67ddcf7fcf200c6.png\" width=\"1024\" height=\"361\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/086\/4c6\/1ac\/0864c61aca88dc2db67ddcf7fcf200c6.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438 \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u0438 \u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0439\u043b\u043e\u0432 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/ba9\/9b1\/f4d\/ba99b1f4d9be578db7146e6227c616a4.png\" width=\"1024\" height=\"242\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ba9\/9b1\/f4d\/ba99b1f4d9be578db7146e6227c616a4.png\"\/><figcaption><\/figcaption><\/figure>\n<p><strong>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/strong><\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043a\u0430\u043a \u043d\u0430\u0447\u0430\u0442\u044c \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 GMap: \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e \u0441\u043b\u043e\u044f\u043c\u0438, \u0442\u0430\u0439\u043b\u0430\u043c\u0438, \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043c\u0438 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043c\u0430\u0440\u043a\u0435\u0440\u044b. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0438\u0434\u0435\u0438 \u0438 \u043a\u043e\u0434, \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435, \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u043b\u0435\u0437\u043d\u044b \u043f\u0440\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0432\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447.<\/p>\n<p>\u0422\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u0442\u044c:<\/p>\n<p><a href=\"http:\/\/www.independent-software.com\/gmap-net-beginners-tutorial-adding-polygons-and-routes-to-your-map-updated-for-vs-2015-and-gmap-net-1-7.html\" rel=\"noopener noreferrer nofollow\">Gmap.Net Beginners Tutorial<\/a><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/playlist?list=PLhczozPHBfbswrCwUFSDZ2aS1lQGQMItu\" rel=\"noopener noreferrer nofollow\">OpenStreetMap \u0432 Visual Studio 2017. GMap.Net<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/585734\/\"> https:\/\/habr.com\/ru\/articles\/585734\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u0435\u043d\u044f \u043f\u043e\u0434\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043d\u0435 \u0441\u0442\u043e\u043b\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 GMap \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430\u0445 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430, \u043a\u0430\u043a \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b.<\/p>\n<p>\u0421\u0442\u043e\u044f\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043f\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430 \u0438 \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0437\u0430\u043a\u043e\u043d\u043e\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.<\/p>\n<p>\u041f\u0435\u0440\u0432\u043e\u0435 \u0447\u0442\u043e \u043c\u043e\u0433\u0443 \u043f\u043e\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0441\u0432\u043e\u0435\u0433\u043e \u043e\u043f\u044b\u0442\u0430 \u2013 \u043d\u0430\u0447\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u0440\u0430\u0437\u0443 \u0441 WinForm, \u0430 \u043d\u0435 \u0441 WPF \u0442.\u043a. \u043f\u0440\u043e\u0449\u0435 \u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u044b\u0442\u044c \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e \u043d\u0435\u0439.<\/p>\n<p>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u044f\u0442\u0441\u044f \u0432 \u043c\u043e\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435:<\/p>\n<ul>\n<li>\n<p><strong>\u0422\u0430\u0439\u043b\u043e\u0432\u0430\u044f, \u043f\u043b\u0438\u0442\u043e\u0447\u043d\u0430\u044f<\/strong>\u00a0\u0438\u043b\u0438\u00a0<strong>\u0437\u043d\u0430\u043a\u043e\u043c\u0435\u0441\u0442\u043d\u0430\u044f<\/strong>\u00a0\u0433\u0440\u0430\u0444\u0438\u043a\u0430 (\u043e\u0442 \u0430\u043d\u0433\u043b. tile \u2014 \u043f\u043b\u0438\u0442\u043a\u0430) \u2014 \u043c\u0435\u0442\u043e\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 (\u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043d\u044b\u0445 \u0438\u0433\u0440\u0430\u0445) \u0438\u0437 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0445 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432<\/p>\n<\/li>\n<li>\n<p><strong>\u0422\u0430\u0439\u043b<\/strong>\u00a0\u2014 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0431\u0438\u0435\u043d\u0438\u044f<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043b\u043e\u0439<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0441 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0439 \u043f\u043b\u0435\u043d\u043a\u043e\u0439, \u043d\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043d\u043e\u0441\u044f\u0442\u0441\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b<\/p>\n<\/li>\n<li>\n<p><strong>\u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/strong>\u00a0\u2014 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0433\u0434\u0435 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0446\u0432\u0435\u0442\u0430. \u0422\u0435\u0440\u043c\u0438\u043d \u00abheatmap\u00bb \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0431\u044b\u043b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d \u0438 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d \u043a\u0430\u043a \u0442\u043e\u0432\u0430\u0440\u043d\u044b\u0439 \u0437\u043d\u0430\u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u041a\u043e\u0440\u043c\u0430\u043a\u043e\u043c \u041a\u0438\u043d\u043d\u0438 \u0432 1991 \u0433\u043e\u0434\u0443.<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9F%D0%BE%D0%BB%D0%B8%D0%B3%D0%BE%D0%BD_(%D0%BA%D0%BE%D0%BC%D0%BF%D1%8C%D1%8E%D1%82%D0%B5%D1%80%D0%BD%D0%B0%D1%8F_%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%BA%D0%B0)\" rel=\"noopener noreferrer nofollow\"><strong>\u041f\u043e\u043b\u0438\u0433\u043e\u043d<\/strong><\/a><strong>\u00a0<\/strong>\u2014\u00a0\u043c\u043d\u043e\u0433\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a, \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0432\u0435\u0440\u0445\u043d\u043e\u0441\u0442\u044c \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 \u0442\u0440\u0451\u0445\u043c\u0435\u0440\u043d\u043e\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0435.<\/p>\n<\/li>\n<li>\n<p><strong>\u041c\u0430\u0440\u043a\u0435\u0440\u00a0<\/strong>\u2014 \u043e\u0442\u043c\u0435\u0442\u043a\u0430 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439.<\/p>\n<p>\u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f GMap.NET.Core.dll \u0438 GMap.NET.WindowsForms.dll \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Nuget.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0438\u043b\u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c dll \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0438<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0429\u0435\u043b\u043a\u043d\u0438\u0442\u0435 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043c\u044b\u0448\u0438 \u043f\u0430\u043d\u0435\u043b\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0438 \u043d\u0430\u0436\u043c\u0438\u0442\u0435 \u00ab\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b\u2026\u00bb. \u0412 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0435\u043c\u0441\u044f \u043e\u043a\u043d\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043d\u043e\u043f\u043a\u0438 \u00ab\u041e\u0431\u0437\u043e\u0440\u00bb \u043d\u0430\u0439\u0434\u0438\u0442\u0435 \u0444\u0430\u0439\u043b GMap.NET.WindowsForms.dll:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u044f \u043e\u043a\u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0432 \u043d\u0430\u0431\u043e\u0440\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432. \u041f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u0444\u043e\u0440\u043c\u0443 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u044b.<\/p>\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u044d\u0432\u0435\u043d\u0442 (\u0441\u043e\u0431\u044b\u0442\u0438\u0435) \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u0430\u043b\u0430.<\/p>\n<figure class=\"\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u0434:<\/p>\n<pre><code>GMap.NET.GMaps.Instance.Mode = GMap.NET.AccessMode.ServerAndCache; \/\/\u0432\u044b\u0431\u043e\u0440 \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u0430\u0440\u0442\u044b \u2013 \u043e\u043d\u043b\u0430\u0439\u043d \u0438\u043b\u0438 \u0438\u0437 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432             gMapControl1.MapProvider = GMap.NET.MapProviders.GoogleMapProvider.Instance; \/\/\u043a\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440 \u043a\u0430\u0440\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0433\u0443\u0433\u043b)              gMapControl1.MinZoom = 2; \/\/\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0443\u043c             gMapControl1.MaxZoom = 16; \/\/\u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0443\u043c            gMapControl1.Zoom = 4; \/\/ \u043a\u0430\u043a\u043e\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u0443\u043c \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438             gMapControl1.Position = new GMap.NET.PointLatLng(66.4169575018027, 94.25025752215694);\/\/ \u0442\u043e\u0447\u043a\u0430 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u0440\u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0438 (\u0446\u0435\u043d\u0442\u0440 \u0420\u043e\u0441\u0441\u0438\u0438)             gMapControl1.MouseWheelZoomType = GMap.NET.MouseWheelZoomType.MousePositionAndCenter; \/\/ \u043a\u0430\u043a \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0430\u0435\u0442 (\u043f\u0440\u043e\u0441\u0442\u043e \u0432 \u0446\u0435\u043d\u0442\u0440 \u043a\u0430\u0440\u0442\u044b \u0438\u043b\u0438 \u043f\u043e \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043c\u044b\u0448\u0438)             gMapControl1.CanDragMap = true; \/\/ \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u043c\u044b\u0448\u044c\u044e             gMapControl1.DragButton = MouseButtons.Left; \/\/ \u043a\u0430\u043a\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u043e\u0439 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435             gMapControl1.ShowCenter = false; \/\/\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043a\u0440\u0435\u0441\u0442\u0438\u043a \u0432 \u0446\u0435\u043d\u0442\u0440\u0435             gMapControl1.ShowTileGridLines = false; \/\/\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0442\u0430\u0439\u043b\u044b<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430. \u041a\u0430\u0440\u0442\u0430 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430 \u043a\u0432\u0430\u0434\u0440\u0430\u0442\u044b, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 \u0442\u0430\u0439\u043b\u0430\u043c\u0438. \u0422\u0430\u0439\u043b\u044b \u0438 \u043a\u0440\u0435\u0441\u0442 \u043f\u043e \u0446\u0435\u043d\u0442\u0440\u0443 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u044b.<\/p>\n<p><strong>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439. \u041c\u0430\u0440\u043a\u0435\u0440\u044b<\/strong><\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043c\u0430\u0440\u043a\u0435\u0440 \u0441 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0438 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0435\u0433\u043e \u043d\u0430 \u043a\u0430\u0440\u0442\u0443. \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0443\u044e \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043c\u0430\u0440\u043a\u0435\u0440. \u0412 \u043a\u043e\u0434\u0435 \u043d\u0438\u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: \u043a\u043b\u0430\u0441\u0441\u044b Us \u043e\u0442\u043a\u0443\u0434\u0430 \u044f \u0431\u0435\u0440\u0443 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u00a0<strong>gMarkerGoogleType<\/strong>\u00a0\u2013 \u0442\u0438\u043f \u043c\u0430\u0440\u043a\u0435\u0440\u0430.<\/p>\n<pre><code>private GMarkerGoogle GetMarker(Us us, GMarkerGoogleType gMarkerGoogleType= GMarkerGoogleType.red)         {             GMarkerGoogle mapMarker = new GMarkerGoogle(new GMap.NET.PointLatLng(us.\u0441oordinates[0].lat, us.\u0441oordinates[0].lon), gMarkerGoogleType);\/\/\u0448\u0438\u0440\u043e\u0442\u0430, \u0434\u043e\u043b\u0433\u043e\u0442\u0430, \u0442\u0438\u043f \u043c\u0430\u0440\u043a\u0435\u0440\u0430             mapMarker.ToolTip = new GMap.NET.WindowsForms.ToolTips.GMapRoundedToolTip(mapMarker);\/\/\u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0435 \u043e\u043a\u043d\u043e \u0441 \u0438\u043d\u0444\u043e\u0439 \u043a \u043c\u0430\u0440\u043a\u0435\u0440\u0443             mapMarker.ToolTipText = us.id; \/\/ \u0442\u0435\u043a\u0441\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043e\u043a\u043d\u0430             mapMarker.ToolTipMode = MarkerTooltipMode.OnMouseOver; \/\/\u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432\u0441\u043f\u043b\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043e\u043a\u043d\u0430 (\u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0438\u0438)             return mapMarker;         }<\/code><\/pre>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u00a0<strong>GMapOverlay\u00a0<\/strong>\u2013 \u044d\u0442\u043e \u0441\u043b\u043e\u0439, \u043f\u043e\u0445\u043e\u0436\u0438\u0439 \u043d\u0430 \u0441\u043b\u043e\u0439 \u0432 Photoshop, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u043a \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u0439 \u0445\u043e\u043b\u0441\u0442 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0441 \u043a\u0430\u0440\u0442\u0443 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0432\u0441\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u044b.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0430\u044f \u0441\u043b\u043e\u0439 \u0441 \u043c\u0430\u0440\u043a\u0435\u0440\u0430\u043c\u0438. \u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b: \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u0441 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u044f \u0438 \u0432\u0441\u0435 \u0442\u043e\u0442 \u0436\u0435 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u00a0<strong>gMarkerGoogleType<\/strong>.<\/p>\n<pre><code>private GMapOverlay GetOverlayMarkers(List&lt;Us> uss, string name, GMarkerGoogleType gMarkerGoogleType= GMarkerGoogleType.red)         {             GMapOverlay gMapMarkers = new GMapOverlay(name);\/\/ \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u044f              foreach (Us us in uss)             {                 gMapMarkers.Markers.Add(GetMarker(us, gMarkerGoogleType));\/\/ \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u043d\u0430 \u0441\u043b\u043e\u0439             }             return gMapMarkers;         }<\/code><\/pre>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043b\u043e\u044f. \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0443\u044e \u0441\u043b\u043e\u0439 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0435\u0433\u043e \u043a \u0441\u043b\u043e\u044f\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0430 \u043a\u0430\u0440\u0442\u044b:<\/p>\n<pre><code>gMapControl1.Overlays.Add(GetOverlayMarkers(groups, \"GroupsMarkers\"));<\/code><\/pre>\n<p>\u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u043d\u043e \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435\u043c \u0442\u0438\u043f\u043e\u0432 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432:<\/p>\n<pre><code>gMapControl1.Overlays.Add(GetOverlayMarkers(LUs, \" GroupsMarkers\", GMarkerGoogleType.blue));<\/code><\/pre>\n<p>\u041c\u043e\u0436\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c \/ \u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0441\u043b\u043e\u0438<\/p>\n<pre><code>gMapControl1.Overlays[0].IsVisibile = false;<\/code><\/pre>\n<p>\u0421\u043b\u043e\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d, \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b<\/p>\n<pre><code>gMapControl1.Update();\/\/ \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b<\/code><\/pre>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u0443 \u0441 \u043d\u0430\u043d\u0435\u0441\u0435\u043d\u043d\u044b\u043c\u0438 \u043d\u0430 \u043d\u0435\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u0430\u043c\u0438<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p><strong>\u0422\u0435\u043f\u043b\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430<\/strong><\/p>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0435\u043f\u043b\u043e\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0443 \u043f\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u0432 \u0440\u0430\u0439\u043e\u043d\u0430\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0433\u043e\u0440\u043e\u0434\u043e\u0432, \u043d\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0441\u043a\u0430\u0442\u044c \u0438 \u0434\u043e\u0431\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0433\u0440\u0430\u043d\u0438\u0446 \u044d\u0442\u0438\u0445 \u0440\u0430\u0439\u043e\u043d\u043e\u0432. \u0410 \u044d\u0442\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0442\u0440\u0443\u0434\u0430 \u0438 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0430 \u0434\u0435\u0434\u043b\u0430\u0439\u043d, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u0443\u0436\u0435 \u043f\u043e\u0437\u0430\u0432\u0447\u0435\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u0440\u0442\u0443 \u043f\u043e \u043a\u043e\u043d\u0446\u0435\u043d\u0442\u0440\u0430\u0446\u0438\u044f\u043c \u0432 \u0442\u0430\u0439\u043b\u0430\u0445. \u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0445\u043e\u0440\u043e\u0448\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u043e\u0441\u044c, \u0442\u0430\u0439\u043b\u044b \u043b\u0443\u0447\u0448\u0435 \u0431\u0440\u0430\u0442\u044c \u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u0447\u0435\u043c \u0434\u043b\u044f \u043d\u044b\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0437\u0443\u043c\u0430. \u0418 \u0438\u0437 \u0442\u0430\u043a\u0438\u0445 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u044f \u0434\u0435\u043b\u0430\u044e \u043d\u0430\u0431\u043e\u0440 \u0441\u043b\u043e\u0435\u0432 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0437\u0443\u043c\u0430, \u0438 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0437\u0443\u043c\u0430 \u043c\u0435\u043d\u044f\u044e \u0441\u043b\u043e\u0439.<\/p>\n<p>\u041a\u043e\u0434 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0441\u043b\u043e\u0435\u0432 \u0441 \u0446\u0432\u0435\u0442\u043d\u044b\u043c\u0438 \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430\u043c\u0438:<\/p>\n<pre><code>public void GetHeatMap(List&lt;Us> LUs, string name, bool AllCoord = true)         {             MercatorProjection mercatorProjection = new MercatorProjection(); \/\/ \u043a\u043b\u0430\u0441\u0441 \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 https:\/\/github.com\/radioman\/greatmaps\/blob\/master\/GMap.NET.Core\/GMap.NET.Projections\/MercatorProjection.cs#L73             for (int myZoom = gMapControl1.MinZoom + 3; myZoom &lt;= gMapControl1.MaxZoom + 3; myZoom++)             {                 GMapOverlay gMapOverlay = new GMapOverlay(name + myZoom); \/\/ \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u044f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0443\u043c                 int tileSizePx = (int)mercatorProjection.TileSize.Height; \/\/\u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0439\u043b\u0430                 List&lt;GPoint> gPoints = new List&lt;GPoint>();\/\/\u0441\u043f\u0438\u0441\u043e\u043a \u0442\u043e\u0447\u0435\u043a                  foreach (Us us in LUs)                 {                     if (AllCoord)                     {                         foreach (Coordinat coordinat in us.\u0441oordinates)                         {                             GPoint pixelCoord = mercatorProjection.FromLatLngToPixel(coordinat.lat, coordinat.lon, myZoom);                             gPoints.Add(new GPoint(pixelCoord.X \/ tileSizePx * tileSizePx, pixelCoord.Y \/ tileSizePx * tileSizePx));                         }                     }                     else                     {                         GPoint pixelCoord = mercatorProjection.FromLatLngToPixel(us.\u0441oordinates[0].lat, us.\u0441oordinates[0].lon, myZoom);\/\/\u0438\u0437 \u0448\u0438\u0440\u043e\u0442\u044b \u0434\u043e\u043b\u0433\u043e\u0442\u044b \u0432 \u043f\u0438\u043a\u0441\u0435\u043b\u0438                         gPoints.Add(new GPoint(pixelCoord.X \/ tileSizePx * tileSizePx, pixelCoord.Y \/ tileSizePx * tileSizePx));                     }                 }                 var group = gPoints.GroupBy(r => r).ToList();                 int TileMaxCount = group.Max(r => r.Count());\/\/ \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 \u043d\u0430 \u0442\u0430\u0439\u043b\u0435                 foreach (var item in group)                 {                     int minus = Convert.ToInt32(155 * item.Count() \/ TileMaxCount);\/\/\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u044b\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0437 \u0420\u0413\u0411                     if (minus == 0) { minus++; }                     Color color = Color.FromArgb(200, 255, 155 - minus, 155 - minus);\/\/ \u0437\u0430\u0434\u0430\u0435\u043c \u0446\u0432\u0435\u0442 \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f                     List&lt;PointLatLng> pointLatLngs = new List&lt;PointLatLng>()                 {                     mercatorProjection.FromPixelToLatLng(item.Key, myZoom),                     mercatorProjection.FromPixelToLatLng(item.Key.X+tileSizePx, item.Key.Y, myZoom),                     mercatorProjection.FromPixelToLatLng(item.Key.X+tileSizePx, item.Key.Y+tileSizePx, myZoom),                     mercatorProjection.FromPixelToLatLng(item.Key.X, item.Key.Y+tileSizePx, myZoom)                 }; \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u043e\u0447\u0435\u043a \u0434\u043b\u044f \u043f\u043e\u043b\u0438\u0433\u043e\u043d\u0430                     GMapPolygon gMapPolygon = new GMapPolygon(pointLatLngs, item.Key.ToString()); \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u0438\u0437 \u0441\u043f\u0438\u0441\u043a\u0430 \u0442\u043e\u0447\u0435\u043a                     gMapPolygon.Fill = new SolidBrush(color);\/\/ \u0437\u0430\u043b\u0438\u0432\u043a\u0430                     gMapPolygon.Stroke = new Pen(color, -1); \/\/ \u0440\u0430\u043c\u043a\u0430                     gMapPolygon.IsVisible = true; \/\/ \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c                      gMapOverlay.Polygons.Add(gMapPolygon); \/\/ \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0438\u0433\u043e\u043d                 }                 gMapControl1.Overlays.Add(gMapOverlay);\/\/ \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u043b\u043e\u0439                 GC.Collect();\/\/ \u0441\u0431\u043e\u0440 \u043c\u0443\u0441\u043e\u0440\u0430             }         }<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0437\u0443\u043c\u0430:<\/p>\n<pre><code>private void gMapControl1_OnMapZoomChanged()         {             if (AllPolygonsToolStripMenuItem.CheckState == CheckState.Checked)             {                 CheckHeatMap(\"AllPolygons\");                 gMapControl1.Update();             }         }<\/code><\/pre>\n<p>\u041a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438:<\/p>\n<pre><code>private void CheckHeatMap(string name)         {             foreach (GMapOverlay gMapOverlay in gMapControl1.Overlays.Where(r => r.Id.Contains(\"Polygons\")))             {                 gMapOverlay.IsVisibile = false;             }\/\/ \u0432\u0441\u0435 \u0441\u043b\u043e\u0438 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u0441\u043b\u043e\u0432\u043e \u043f\u043e\u043b\u0438\u0433\u043e\u043d \u043d\u0435\u0432\u0438\u0434\u0438\u043c\u044b             if (name != null)             {                 name += gMapControl1.Zoom + 3;                 GMapOverlay gMapOverlaySearch = gMapControl1.Overlays.Where(r => r.Id == name).FirstOrDefault();                 gMapControl1.Overlays.Where(r => r.Id == name).FirstOrDefault().IsVisibile = true;\/\/\u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0441\u043b\u043e\u044f \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c             }         }<\/code><\/pre>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u0440\u0438 \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d\u0438\u0438<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\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-390978","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/390978","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=390978"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/390978\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390978"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=390978"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=390978"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}