PageSourceSearch

https://pbe-react-yandex-maps.vercel.app/assets/js/876bb296.98454014.js

js pbe-react-yandex-maps.vercel.app collected 2026-10-03 07:28:38 UTC 3,602 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkreact_yandex_maps_website=self.webpackChunkreact_yandex_maps_website||[]).push([[389],{3784:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>s,contentTitle:()=>i,default:()=>m,frontMatter:()=>r,metadata:()=>p,toc:()=>c});var o=t(7462),a=(t(7294),t(3905)),l=t(886);const r={slug:"/api/geo-objects/polygon",title:"Polygon"},i="Polygon",p={unversionedId:"api-reference/geo-objects/polygon",id:"api-reference/geo-objects/polygon",title:"Polygon",description:"\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 Yandex.Maps API Polygon",source:"@site/docs/api-reference/geo-objects/polygon.mdx",sourceDirName:"api-reference/geo-objects",slug:"/api/geo-objects/polygon",permalink:"/api/geo-objects/polygon",draft:!1,tags:[],version:"current",frontMatter:{slug:"/api/geo-objects/polygon",title:"Polygon"},sidebar:"tutorialSidebar",previous:{title:"Placemark",permalink:"/api/geo-objects/placemark"},next:{title:"Polyline",permalink:"/api/geo-objects/polyline"}},s={},c=[{value:"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435",id:"\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435",level:2},{value:"Props",id:"props",level:2}],d={toc:c};
1function m(e){let{components:n,...t}=e;return(0,a.kt)("wrapper",(0,o.Z)({},d,t,{components:n,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"polygon"},"Polygon"),(0,a.kt)("p",null,"\u0421\u043e\u0437\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 Yandex.Maps API ",(0,a.kt)("a",{parentName:"p",href:"https://tech.yandex.com/maps/doc/jsapi/2.1/ref/reference/Polygon-docpage/"},"Polygon")),(0,a.kt)("h2",{id:"\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435"},"\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435"),(0,a.kt)(l.X,{mdxType:"Canvas"},"\n<YMaps>\n    <Map\n      defaultState={{\n        center: [55.73, 37.9],\n        zoom: 10,\n      }}\n    >\n      <Polygon\n        geometry={[\n          [\n            [55.75, 37.8],\n            [55.8, 37.9],\n            [55.75, 38.0],\n            [55.7, 38.0],\n            [55.7, 37.8],\n          ],\n          [\n            [55.75, 37.82],\n            [55.75, 37.98],\n            [55.65, 37.9],\n          ],\n        ]}\n        options={{\n          fillColor: '#00FF00',\n          strokeColor: '#0000FF',\n          opacity: 0.5,\n          strokeWidth: 5,\n          strokeStyle: 'shortdash',\n        }}\n      />\n    </Map>\n  </YMaps>\n"),(0,a.kt)("h2",{id:"props"},"Props"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"geometry"),": Placemark geometry"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"defaultGeometry"),": Uncontrolled Placemark geometry"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"properties"),": Placemark properties"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"defaultProperties"),": Uncontrolled Placemark properties"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"options"),": Placemark options"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"defaultOptions"),": Uncontrolled Placemark options"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"dangerZone"),": Used in a special case where constructor needs to be modified\nbefore passing it to the mount method"),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("inlineCode",{parentName:"li"},"instanceRef"),": Object instance")))}m.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.