Deprecated: تابع Yoast\WP\SEO\Conditionals\Schema_Blocks_Conditional::get_feature_flag از نگارش Yoast SEO 20.5 که جایگزینی برای آن در دسترس نیست منسوخ شده است. in /var/www/html/wp-includes/functions.php on line 6078 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/wp-includes/functions.php:6078) in /var/www/html/wp-includes/rest-api/class-wp-rest-server.php on line 1831 {"id":3896,"date":"2021-04-24T16:59:38","date_gmt":"2021-04-24T12:29:38","guid":{"rendered":"https:\/\/help.map.ir\/?post_type=manual_documentation&p=3896"},"modified":"2021-09-18T14:27:35","modified_gmt":"2021-09-18T09:57:35","slug":"reactsdk-camera","status":"publish","type":"manual_documentation","link":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/","title":{"rendered":"Camera"},"content":{"rendered":"\n

\u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0632\u0627\u0648\u06cc\u0647 \u062f\u06cc\u062f \u0646\u0642\u0634\u0647 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f.<\/p>\n\n\n\n

\u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627:<\/strong><\/p>\n\n\n\n

Description<\/th>Required<\/th>Default<\/th>Type<\/th>Prop<\/th><\/tr><\/thead>
The duration a camera update takes (in ms)<\/td>false<\/td>\u06f2\u06f0\u06f0\u06f0<\/td>number<\/td>animationDuration<\/td><\/tr>
The animationstyle when the camara updates. One of; flyTo<\/code>, easeTo<\/code>, linearTo<\/code>, moveTo<\/code><\/td>false<\/td>'easeTo'<\/code><\/td>enum<\/td>animationMode<\/td><\/tr>
FIX ME NO DESCRIPTION<\/td>false<\/td>none<\/td>shape<\/td>defaultSettings<\/td><\/tr>
Center coordinate on map [lng, lat]<\/td>false<\/td>none<\/td>array<\/td>centerCoordinate-<\/td><\/tr>
Heading on map<\/td>false<\/td>none<\/td>number<\/td>heading-<\/td><\/tr>
Pitch on map<\/td>false<\/td>none<\/td>number<\/td>pitch-<\/td><\/tr>
Represents a rectangle in geographical coordinates marking the visible area of the map<\/td>false<\/td>none<\/td>shape<\/td>bound-<\/td><\/tr>
northEastCoordinates – North east coordinate of bound<\/td>true<\/td>none<\/td>array<\/td>ne–<\/td><\/tr>
southWestCoordinates – North east coordinate of bound<\/td>true<\/td>none<\/td>array<\/td>sw–<\/td><\/tr>
Left camera padding for bounds<\/td>false<\/td>none<\/td>number<\/td>paddingLeft–<\/td><\/tr>
Right camera padding for bounds<\/td>false<\/td>none<\/td>number<\/td>paddingRight–<\/td><\/tr>
Top camera padding for bounds<\/td>false<\/td>none<\/td>number<\/td>paddingTop–<\/td><\/tr>
Bottom camera padding for bounds<\/td>false<\/td>none<\/td>number<\/td>paddingBottom–<\/td><\/tr>
Zoom level of the map<\/td>false<\/td>none<\/td>number<\/td>zoomLevel-<\/td><\/tr>
Center coordinate on map [lng, lat]<\/td>false<\/td>none<\/td>array<\/td>centerCoordinate<\/td><\/tr>
Heading on map<\/td>false<\/td>none<\/td>number<\/td>heading-<\/td><\/tr>
Pitch on map<\/td>false<\/td>none<\/td>number<\/td>pitch-<\/td><\/tr>
Represents a rectangle in geographical coordinates marking the visible area of the map<\/td>false<\/td>none<\/td>shape<\/td>bound-<\/td><\/tr>
northEastCoordinates – North east coordinate of bound<\/td>true<\/td>none<\/td>array<\/td>ne–<\/td><\/tr>
southWestCoordinates – North east coordinate of bound<\/td>false<\/td>none<\/td>array<\/td>sw–<\/td><\/tr>
Left camera padding for bounds<\/td>false<\/td>none<\/td>number<\/td>paddingLeft–<\/td><\/tr>
Right camera padding for bounds<\/td>false<\/td>none<\/td><\/td>paddingRight–<\/td><\/tr>
Top camera padding for bounds<\/td>false<\/td>none<\/td><\/td>paddingTop–<\/td><\/tr>
Bottom camera padding for bounds<\/td>false<\/td>none<\/td><\/td>paddingBottom–<\/td><\/tr>
Zoom level of the map<\/td>false<\/td>none<\/td><\/td>zoomLevel<\/td><\/tr>
The minimun zoom level of the map<\/td>false<\/td>none<\/td>number<\/td>minZoomLevel<\/td><\/tr>
The maximun zoom level of the map<\/td>false<\/td>none<\/td>number<\/td>maxZoomLevel<\/td><\/tr>
Should the map orientation follow the user’s<\/td>false<\/td>none<\/td>boolean<\/td>followUserLocation<\/td><\/tr>
The mode used to track the user location on the map<\/td>false<\/td>none<\/td>enum<\/td>followUserMode<\/td><\/tr>
The zoomLevel on map while followUserLocation is set to true<\/code><\/td>false<\/td>none<\/td>number<\/td>followZoomLevel<\/td><\/tr>
The pitch on map while followUserLocation is set to true<\/code><\/td>false<\/td>none<\/td>number<\/td>followPitch<\/td><\/tr>
The heading on map while followUserLocation is set to true<\/code><\/td>false<\/td>none<\/td>number<\/td>followHeading<\/td><\/tr>
Manually update the camera – helpful for when props did not update, however you still want the camera to move<\/td>false<\/td>none<\/td>any<\/td>triggerKey<\/td><\/tr>
FIX ME NO DESCRIPTION<\/td>false<\/td>none<\/td>array<\/td>alignment<\/td><\/tr>
FIX ME NO DESCRIPTION<\/td>false<\/td>false<\/td>FIX ME UNKNOWN TYPE<\/td>isUserInteraction<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
\n\n\n\n

methods<\/h3>\n\n\n\n

fitBounds(northEastCoordinates, southWestCoordinates[, padding][, animationDuration])<\/strong><\/p>\n\n\n\n

Map camera transitions to fit provided bounds<\/p>\n\n\n\n

:arguments<\/strong><\/p>\n\n\n\n

Description<\/th>Required<\/th>Type<\/th>Name<\/th><\/tr><\/thead>
North east coordinate of bound<\/td>Yes<\/td>Array<\/td>northEastCoordinates<\/td><\/tr>
South west coordinate of bound<\/td>Yes<\/td>Array<\/td>southWestCoordinates<\/td><\/tr>
Camera padding for bound<\/td>No<\/td>Number<\/td>padding<\/td><\/tr>
Duration of camera animation<\/td>No<\/td>Number<\/td>animationDuration<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
this.camera.fitBounds([lng, lat], [lng, lat])\nthis.camera.fitBounds([lng, lat], [lng, lat], 20, 1000) \/\/ padding for all sides\nthis.camera.fitBounds([lng, lat], [lng, lat], [verticalPadding, horizontalPadding], 1000)\nthis.camera.fitBounds([lng, lat], [lng, lat], [top, right, bottom, left], 1000)<\/pre>\n\n\n\n
\n\n\n\n

flyTo(coordinates[, animationDuration])<\/strong><\/p>\n\n\n\n

Map camera will fly to new coordinate<\/p>\n\n\n\n

:arguments<\/strong><\/p>\n\n\n\n

Description<\/th>Required<\/th>Type<\/th>Name<\/th><\/tr><\/thead>
Coordinates that map camera will jump too<\/td>Yes<\/td>Array<\/td>coordinates<\/td><\/tr>
Duration of camera animation<\/td>No<\/td>Number<\/td>animationDuration<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
this.camera.flyTo([lng, lat])\nthis.camera.flyTo([lng, lat], 12000)<\/pre>\n\n\n\n
\n\n\n\n

moveTo(coordinates[, animationDuration])<\/strong><\/p>\n\n\n\n

Map camera will move to new coordinate at the same zoom level<\/p>\n\n\n\n

:arguments<\/strong><\/p>\n\n\n\n

Description<\/th>Required<\/th>Type<\/th>Name<\/th><\/tr><\/thead>
Coordinates that map camera will jump too<\/td>Yes<\/td>Array<\/td>coordinates<\/td><\/tr>
Duration of camera animation<\/td>No<\/td>Number<\/td>animationDuration<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
this.camera.moveTo([lng, lat], 200) \/\/ eases camera to new location based on duration\nthis.camera.moveTo([lng, lat]) \/\/ snaps camera to new location without any easing<\/pre>\n\n\n\n
\n\n\n\n

zoomTo(zoomLevel[, animationDuration])<\/strong><\/p>\n\n\n\n

Map camera will zoom to specified level<\/p>\n\n\n\n

:arguments<\/strong><\/p>\n\n\n\n

Description<\/th>Required<\/th>Type<\/th>Name<\/th><\/tr><\/thead>
Zoom level that the map camera will animate too<\/td>Yes<\/td>Number<\/td>zoomLevel<\/td><\/tr>
Duration of camera animation<\/td>No<\/td>Number<\/td>animationDuration<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n
this.camera.zoomTo(16)\nthis.camera.zoomTo(16, 100)<\/pre>\n\n\n\n
\n\n\n\n

setCamera(config)<\/strong><\/p>\n\n\n\n

Map camera will perform updates based on provided config, Advanced use only<\/p>\n\n\n\n

:arguments<\/strong><\/p>\n\n\n\n

Description<\/th>Required<\/th>Type<\/th>Name<\/th><\/tr><\/thead>
Camera configuration<\/td>Yes<\/td>Object<\/td>config<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"author":4,"featured_media":0,"parent":3734,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","manualdocumentationcategory":[97],"yoast_head":"\nCamera - \u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Camera\" \/>\n<meta property=\"og:description\" content=\"\u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0632\u0627\u0648\u06cc\u0647 \u062f\u06cc\u062f \u0646\u0642\u0634\u0647 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627: Description Required Default Type Prop The duration a […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-18T09:57:35+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@map_ir_Official\" \/>\n<meta name=\"twitter:label1\" content=\"\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/\",\"url\":\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/\",\"name\":\"Camera - \u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e\",\"isPartOf\":{\"@id\":\"https:\/\/help.map.ir\/#website\"},\"datePublished\":\"2021-04-24T12:29:38+00:00\",\"dateModified\":\"2021-09-18T09:57:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u062e\u0627\u0646\u0647\",\"item\":\"https:\/\/help.map.ir\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0645\u0633\u062a\u0646\u062f\u0627\u062a\",\"item\":\"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Camera\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.map.ir\/#website\",\"url\":\"https:\/\/help.map.ir\/\",\"name\":\"\u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e\",\"description\":\"\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e\",\"publisher\":{\"@id\":\"https:\/\/help.map.ir\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.map.ir\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/help.map.ir\/#organization\",\"name\":\"\u0646\u0642\u0634\u0647 \u0645\u067e\",\"url\":\"https:\/\/help.map.ir\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\/\/help.map.ir\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/help.map.ir\/wp-content\/uploads\/2021\/04\/Logo.png\",\"contentUrl\":\"https:\/\/help.map.ir\/wp-content\/uploads\/2021\/04\/Logo.png\",\"width\":735,\"height\":885,\"caption\":\"\u0646\u0642\u0634\u0647 \u0645\u067e\"},\"image\":{\"@id\":\"https:\/\/help.map.ir\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/map_ir_Official\",\"https:\/\/www.linkedin.com\/company\/map-ir\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Camera - \u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/","og_locale":"fa_IR","og_type":"article","og_title":"Camera","og_description":"\u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0632\u0627\u0648\u06cc\u0647 \u062f\u06cc\u062f \u0646\u0642\u0634\u0647 \u0628\u0627\u06cc\u062f \u0627\u0632 \u0627\u06cc\u0646 \u06a9\u0627\u0645\u067e\u0648\u0646\u0646\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0631\u062f. \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627: Description Required Default Type Prop The duration a […]","og_url":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/","og_site_name":"\u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e","article_modified_time":"2021-09-18T09:57:35+00:00","twitter_card":"summary_large_image","twitter_site":"@map_ir_Official","twitter_misc":{"\u0632\u0645\u0627\u0646 \u062a\u062e\u0645\u06cc\u0646\u06cc \u0645\u0637\u0627\u0644\u0639\u0647":"3 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/","url":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/","name":"Camera - \u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e","isPartOf":{"@id":"https:\/\/help.map.ir\/#website"},"datePublished":"2021-04-24T12:29:38+00:00","dateModified":"2021-09-18T09:57:35+00:00","breadcrumb":{"@id":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/reactsdk-camera\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u062e\u0627\u0646\u0647","item":"https:\/\/help.map.ir\/"},{"@type":"ListItem","position":2,"name":"\u0645\u0633\u062a\u0646\u062f\u0627\u062a","item":"https:\/\/help.map.ir\/documentation\/reactsdk-docs\/"},{"@type":"ListItem","position":3,"name":"Camera"}]},{"@type":"WebSite","@id":"https:\/\/help.map.ir\/#website","url":"https:\/\/help.map.ir\/","name":"\u0633\u0627\u06cc\u062a \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e","description":"\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0642\u0634\u0647\u0654 \u0645\u067e","publisher":{"@id":"https:\/\/help.map.ir\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.map.ir\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/help.map.ir\/#organization","name":"\u0646\u0642\u0634\u0647 \u0645\u067e","url":"https:\/\/help.map.ir\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/help.map.ir\/#\/schema\/logo\/image\/","url":"https:\/\/help.map.ir\/wp-content\/uploads\/2021\/04\/Logo.png","contentUrl":"https:\/\/help.map.ir\/wp-content\/uploads\/2021\/04\/Logo.png","width":735,"height":885,"caption":"\u0646\u0642\u0634\u0647 \u0645\u067e"},"image":{"@id":"https:\/\/help.map.ir\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/map_ir_Official","https:\/\/www.linkedin.com\/company\/map-ir\/"]}]}},"_links":{"self":[{"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/manual_documentation\/3896"}],"collection":[{"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/comments?post=3896"}],"version-history":[{"count":1,"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/manual_documentation\/3896\/revisions"}],"predecessor-version":[{"id":3897,"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/manual_documentation\/3896\/revisions\/3897"}],"up":[{"embeddable":true,"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/manual_documentation\/3734"}],"wp:attachment":[{"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/media?parent=3896"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/help.map.ir\/wp-json\/wp\/v2\/manualdocumentationcategory?post=3896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}