@arcgis/coding-components
Version:
Contains components for editing code in different languages. The currently supported languages are html, css, json, TypeScript, JavaScript, and Arcade.
1 lines • 675 kB
JSON
[{"id":"constants","title":"Konstante","items":[{"type":"constant","name":"infinity","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#infinity","description":"Predstavlja vrednost veću od bilo kog drugog broja. `-Infinity` može da se koristi i kao vrednost koja je manja od bilo kog broja.","examples":"\n**Primer**\n\nIzračunava maksimalnu od vrednosti četiri polja\n\n```arcade\nvar values = [ $feature.field1, $feature.field2, $feature.field3, $feature.field4 ];\nvar maxValue = -Infinity;\n\nfor(var i in values){\n maxValue = IIF(values[i] > maxValue, values[i], maxValue);\n}\n\nreturn maxValue;\n```\n\n","completion":{"label":"Infinity","detail":"Infinity","insertText":"Infinity","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPredstavlja vrednost veću od bilo kog drugog broja. `-Infinity` može da se koristi i kao vrednost koja je manja od bilo kog broja."}}},{"type":"constant","name":"pi","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#pi","description":"Vrednost obima kruga podeljena njegovim prečnikom, približno `3.14159`.","examples":"\n**Primer**\n\nVraća površinu geoobjekta kruga\n\n```arcade\nvar r = $feature.radius;\nPI * r * r;\n```\n\n","completion":{"label":"PI","detail":"PI","insertText":"PI","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVrednost obima kruga podeljena njegovim prečnikom, približno `3.14159`."}}},{"type":"constant","name":"textformatting.backwardslash","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.backwardslash","description":"Umeće znak obrnute kose crte `\\` u tekst.","examples":"\n**Primer**\n\nVraća '\\\\\\serverName\\foo\\bar'\n\n```arcade\nTextFormatting.BackwardSlash + TextFormatting.BackwardSlash + $feature.FILE_PATH\n```\n\n","completion":{"label":"TextFormatting.BackwardSlash","detail":"TextFormatting.BackwardSlash","insertText":"TextFormatting.BackwardSlash","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nUmeće znak obrnute kose crte `\\` u tekst."}}},{"type":"constant","name":"textformatting.doublequote","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.doublequote","description":"Umeće dvostruki znak navoda `\"` u tekst.","examples":"\n**Primer**\n\nVraća 'Nicholas \"Nick\" Anderson'\n\n```arcade\n$feature.NAME + \" \" + TextFormatting.DoubleQuote + $feature.ALIAS + TextFormatting.DoubleQuote + \" \" + $feature.SURNAME\n```\n\n","completion":{"label":"TextFormatting.DoubleQuote","detail":"TextFormatting.DoubleQuote","insertText":"TextFormatting.DoubleQuote","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nUmeće dvostruki znak navoda `\"` u tekst."}}},{"type":"constant","name":"textformatting.forwardslash","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.forwardslash","description":"Umeće znak kose crte `/` u tekst.","examples":"\n**Primer**\n\nVraća '151/low'\n\n```arcade\n$feature.POP_DENSITY + TextFormatting.ForwardSlash + $feature.CLASS\n```\n\n","completion":{"label":"TextFormatting.ForwardSlash","detail":"TextFormatting.ForwardSlash","insertText":"TextFormatting.ForwardSlash","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nUmeće znak kose crte `/` u tekst."}}},{"type":"constant","name":"textformatting.newline","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.newline","description":"Umeće novi red ili prelom reda u tekst. Oznake u više redova **NISU** podržane u ArcGIS API 3.x for JavaScript niti u ArcGIS Online Map Viewer Classic.","examples":"\n**Primer**\n\nVraća \"T2N R1W\"\n\n```arcade\n\"T\" + $feature.TOWNSHIP + TextFormatting.NewLine + \"R\" + $feature.RANGE\n```\n\n","completion":{"label":"TextFormatting.NewLine","detail":"TextFormatting.NewLine","insertText":"TextFormatting.NewLine","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nUmeće novi red ili prelom reda u tekst. Oznake u više redova **NISU** podržane u ArcGIS API 3.x for JavaScript niti u ArcGIS Online Map Viewer Classic."}}},{"type":"constant","name":"textformatting.singlequote","bundle":"core","sinceVersion":"1.0","link":"https://developers.arcgis.com/arcade/function-reference/constants/#textformatting.singlequote","description":"Umeće jednostruki znak navoda `'` u tekst.","examples":"\n**Primer**\n\nVraća „Nicholas 'Nick' Anderson“\n\n```arcade\n$feature.NAME + \" \" + TextFormatting.SingleQuote + $feature.ALIAS + TextFormatting.SingleQuote + \" \" + $feature.SURNAME\n```\n\n","completion":{"label":"TextFormatting.SingleQuote","detail":"TextFormatting.SingleQuote","insertText":"TextFormatting.SingleQuote","insertTextMode":2,"insertTextFormat":1,"kind":21,"documentation":{"kind":"markdown","value":"**[Od verzije 1.0](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nUmeće jednostruki znak navoda `'` u tekst."}}}]},{"id":"ai_functions","title":"Č_AI functions_____________ž","items":[{"type":"function","name":"translatetext","bundle":"ai","sinceVersion":"1.32","link":"https://developers.arcgis.com/arcade/function-reference/ai_functions/#translatetext","description":"Č__This function is currently in beta. While in beta, AI functions do not consume credits. The use of AI services may not be allowed in your organization. You can view and change this in the AI Assistants section of the Organization settings page._____________________________________________________________________________________________________________________________ž\n\nČ_Translates input text from a source language into one or more target languages. Language codes (e.g. \"en\" for English, \"es\" for Spanish) specify the languages involved. The underlying machine translation service uses AI to generate the translated output________________________________________________________________________________________________________________________________ž.","examples":"\n**Primer**\n\nČ_Translates the text 'Hello world' to the locale of the client or system_____________________________________ž.\n\n```arcade\nvar locale = GetEnvironment().locale;\nvar result = TranslateText('Hello world', locale);\n// result will be a dictionary with the translated text\nif (result.success){\n if(HasValue(result, [\"results\", 0, \"translation\"])){\n // returns \"Hola mundo\" if the device locale is 'es'\n result.results[0].translation[locale];\n }\n if (HasValue(result, [\"results\", 0, \"text\"])){\n // returns \"Hello world\" if translation could not be performed\n result.results[0].text;\n }\n}\nreturn \"Translation not successful\";\n```\n\n","completion":{"label":"TranslateText","detail":"TranslateText(inputText, toLanguages, fromLanguage?) -> Dictionary","insertText":"TranslateText(${1:inputText_}, ${2:toLanguages_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.32](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nČ__This function is currently in beta. While in beta, AI functions do not consume credits. The use of AI services may not be allowed in your organization. You can view and change this in the AI Assistants section of the Organization settings page._____________________________________________________________________________________________________________________________ž\n\nČ_Translates input text from a source language into one or more target languages. Language codes (e.g. \"en\" for English, \"es\" for Spanish) specify the languages involved. The underlying machine translation service uses AI to generate the translated output________________________________________________________________________________________________________________________________ž.\n\n**Parametri**\n\n- **inputText**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - Č_The text to translate. This can be a single text value or an array of text values__________________________________________ž.\n- **toLanguages**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - Č_The target language(s) to translate to. This can be a single language code or an array of language codes______________________________________________________ž.\n- **fromLanguage** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Č_The source language of the input text. If not specified, the service will attempt to auto-detect the source language____________________________________________________________ž.\n\n**Povratna vrednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nČ_A dictionary containing the translated text_______________________ž.\n\n- **success**: [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Č_Indicates whether the translation was successful. This value will be `false` if the use of AI services is not allowed in your organization. You can view and change this in the AI Assistants section of the Organization settings page_____________________________________________________________________________________________________________________ž.\n- **results**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - Č_An array of dictionaries containing the translation results for each `inputText` value_____________________________________________ž.\n\n - **key**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Č_The index of the input text or language in the original array________________________________ž.\n - **text**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Č_The input text that was translated___________________ž.\n - **detectedLanguage**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Č_The detected language of the input text, if applicable_____________________________ž.\n\n - **language**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Č_The language code of the detected language_______________________ž.\n - **score**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Č_The confidence score of the detected language. Values range from 0 to 1, where 1 indicates high confidence. A value of `-1` indicates that the language was not detected______________________________________________________________________________________ž.\n - **translation**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Č_A dictionary of translated values where the key is the language code and the value is the translation____________________________________________________ž.\n\n**Dodatni resursi**\n\n* [Supported language codes](https://developers.arcgis.com/javascript/latest/localization/#locale-support)\n"}},"parametersInfo":{"min":2,"max":3}}]},{"id":"featureset_functions","title":"FeatureSet funkcije","items":[{"type":"function","name":"area","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area","description":"Vraća površinu ulaznog FeatureSet-a (skup geoobjekata) u datim jedinicama. Ovo je merenje u ravni korišćenjem Dekartove matematike.\n\n_Geometrije karakteristika u profilima vizuelizacije i označavanja generalizovani su prema rezoluciji razmere prikaza da bi se poboljšale performanse crtanja. Zbog toga, korišćenje geometrije obeležja (tj. `$feature`) kao ulaza za bilo koju geometrijsku funkciju u ovim kontekstima vratiće različite rezultate na svakom nivou skale. Drugi profili, kao što je iskačući prozor, pružaju geometriju pune rezolucije._","examples":"\n**Primer**\n\nVraća površinu sloja u kvadratnim kilometrima\n\n```arcade\nArea($layer, 'square-kilometers')\n```\n\n","completion":{"label":"Area","detail":"Area(features, unit?) -> Number","insertText":"Area(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća površinu ulaznog FeatureSet-a (skup geoobjekata) u datim jedinicama. Ovo je merenje u ravni korišćenjem Dekartove matematike.\n\n_Geometrije karakteristika u profilima vizuelizacije i označavanja generalizovani su prema rezoluciji razmere prikaza da bi se poboljšale performanse crtanja. Zbog toga, korišćenje geometrije obeležja (tj. `$feature`) kao ulaza za bilo koju geometrijsku funkciju u ovim kontekstima vratiće različite rezultate na svakom nivou skale. Drugi profili, kao što je iskačući prozor, pružaju geometriju pune rezolucije._\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet (skup geoobjekata) za koji treba izračunati površinu ravni.\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jedinice merenja povratne vrednosti. Ovo može da bude jedna od mogućih vrednosti u nastavku, ili jedan od numeričkih kodova navedenih u odeljku dodatnih resursa u nastavku. Za profile vizuelizacije, označavanja i iskačućih prozora, podrazumevana jedinica je prostorna referenca mape. U drugim profilima, kao što je proračun polja, podrazumevana vrednost se zasniva na prostornoj referenci podataka. \nMoguće vrednosti: `acres` | `hectares` | `square-centimeters` | `square-decimeters` | `square-feet` | `square-inches` | `square-kilometers` | `square-meters` | `square-miles` | `square-millimeters` | `square-us-feet` | `square-us-miles` | `square-yards` \n\n\n**Povratna vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n**Dodatni resursi**\n\n* [AreaGeodetic()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic)\n* [Available numeric codes for unit parameter](https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7922.html#i-heading-remarks)\n"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"areageodetic","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#areageodetic","description":"Vraća geodetsku površinu ulaznog FeatureSet-a (skup geoobjekata) u datim jedinicama. Ovo je pouzdanije merenje površine od `Oblasti()` jer uzima u obzir zakrivljenost Zemlje.\n\n_Geometrije karakteristika u profilima vizuelizacije i označavanja generalizovani su prema rezoluciji razmere prikaza da bi se poboljšale performanse crtanja. Zbog toga, korišćenje geometrije obeležja (tj. `$feature`) kao ulaza za bilo koju geometrijsku funkciju u ovim kontekstima vratiće različite rezultate na svakom nivou skale. Drugi profili, kao što je iskačući prozor, pružaju geometriju pune rezolucije._","examples":"\n**Primer**\n\nVraća geodetsku površinu sloja u kvadratnim kilometrima\n\n```arcade\nAreaGeodetic($layer, 'square-kilometers')\n```\n\n","completion":{"label":"AreaGeodetic","detail":"AreaGeodetic(features, unit?, curveType?) -> Number","insertText":"AreaGeodetic(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća geodetsku površinu ulaznog FeatureSet-a (skup geoobjekata) u datim jedinicama. Ovo je pouzdanije merenje površine od `Oblasti()` jer uzima u obzir zakrivljenost Zemlje.\n\n_Geometrije karakteristika u profilima vizuelizacije i označavanja generalizovani su prema rezoluciji razmere prikaza da bi se poboljšale performanse crtanja. Zbog toga, korišćenje geometrije obeležja (tj. `$feature`) kao ulaza za bilo koju geometrijsku funkciju u ovim kontekstima vratiće različite rezultate na svakom nivou skale. Drugi profili, kao što je iskačući prozor, pružaju geometriju pune rezolucije._\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet (skup geoobjekata) za koji treba izračunati geodetsku površinu.\n- **unit** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Jedinice merenja povratne vrednosti. Ovo može da bude jedna od mogućih vrednosti u nastavku, ili jedan od numeričkih kodova navedenih u odeljku dodatnih resursa u nastavku. Za profile vizuelizacije, označavanja i iskačućih prozora, podrazumevana jedinica je prostorna referenca mape. U drugim profilima, kao što je proračun polja, podrazumevana vrednost se zasniva na prostornoj referenci podataka. \nMoguće vrednosti: `acres` | `hectares` | `square-centimeters` | `square-decimeters` | `square-feet` | `square-inches` | `square-kilometers` | `square-meters` | `square-miles` | `square-millimeters` | `square-us-feet` | `square-us-miles` | `square-yards` \n\n- **curveType** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Č__Since 1.31_ The type of curve to use for the geodetic area calculation_____________________________________ž. Č_If no value is provided, the default is `Geodesic`____________________________ž. \nČ_Possible values___________________ž: \n Č_- `Geodesic` - Defined by the shortest distance between two points on an ellipsoid_____________________________________________ž. \n Č_- `GreatElliptic` - Defined by the intersection of a plane that contains the center of the spheroid and the spheroid surface and passes through two points. This is also known as a great circle when a sphere is used. It is not necessarily the shortest path between two points_____________________________________________________________________________________________________________________________________________ž. \n Č_- `Loxodrome` - Defined by the line of constant bearing, or azimuth, between two points. It represents a rhumb-line path on the earth that crosses each meridian at the same acute angle, thus forming a spiral that converges on the north or south pole. The Mercator projection shows loxodromes as straight lines______________________________________________________________________________________________________________________________________________________________ž. \n Č_- `NormalSection` - Defined by the intersection of a plane that passes through two points on the surface of the spheroid and is perpendicular to the surface at the first point. It is not necessarily the shortest path between two points_________________________________________________________________________________________________________________________ž. \n Č_- `ShapePreserving` - The segment shape is preserved in the projection where it is defined. This is often used in situations where maintaining the visual representation of a feature is crucial, like when working with boundaries or coastlines___________________________________________________________________________________________________________________________ž.\n\n**Povratna vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)\n\n**Dodatni resursi**\n\n* [Area()](https://developers.arcgis.com/arcade/function-reference/featureset_functions/#area)\n* [Available numeric codes for unit parameter](https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic7922.html#i-heading-remarks)\n"}},"parametersInfo":{"min":1,"max":3}},{"type":"function","name":"attachments","bundle":"data-access","sinceVersion":"1.6","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#attachments","description":"Vraća listu priloga povezanih sa ulaznim geoobjektom. Svaki rezultat uključuje ime priloga, tip sadržaja, ID i veličinu u bajtovima. Primenljivo samo na funkcije koje potiču iz usluge funkcija.","examples":"\n**Primer**\n\nVraća broj priloga povezanih sa geoobjektom\n\n```arcade\n// Returns the number of attachments associated with the feature\nCount(Attachments($feature))\n```\n\n","completion":{"label":"Attachments","detail":"Attachments(inputFeature, options?) -> Array<Attachment>","insertText":"Attachments(${1:inputFeature_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.6](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća listu priloga povezanih sa ulaznim geoobjektom. Svaki rezultat uključuje ime priloga, tip sadržaja, ID i veličinu u bajtovima. Primenljivo samo na funkcije koje potiču iz usluge funkcija.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Prilozi povezani sa ovim geoobjektom će biti pribavljeni iz servisa.\n- **options** (_Optional_): [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Postavke za zahtev. Svojstva rečnika:\n\n - **types**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - Niz tekstualnih vrednosti koje predstavljaju tipove datoteka za pribavljanje. \nČ_Possible Values: `bmp`, `ecw`, `emf`, `eps`, `ps`, `gif`, `img`, `jp2`, `jpc`, `j2k`, `jpf`, `jpg`, `jpeg`, `jpe`, `png`, `psd`, `raw`, `sid`, `tif`____________________________________________________________________________ž, Č_`tiff`, `wmf`, `wps`, `avi`, `mpg`, `mpe`, `mpeg`, `mov`, `wmv`, `aif`, `mid`, `rmi`, `mp2`, `mp3`, `mp4`, `pma`, `mpv2`, `qt`, `ra`____________________________________________________________________ž, Č_`ram`, `wav`, `wma`, `doc`, `docx`, `dot`, `xls`, `xlsx`, `xlt`, `pdf`, `ppt`, `pptx`, `txt`, `zip`, `7z`, `gz`, `gtar`, `tar`, `tgz`____________________________________________________________________ž, Č_`vrml`, `gml`, `json`, `xml`, `mdb`, `geodatabase`__________________________ž\n - **minsize**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Minimalna veličina datoteke priloga u bajtovima.\n - **maxsize**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Maksimalna veličina datoteke priloga u bajtovima.\n - **metadata** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Označava da li treba uključiti metapodatke priloga u povratak funkcije. Trenutno su podržani samo Exif metapodaci za snimke.\n\n**Povratna vrednost**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Attachment](https://developers.arcgis.com/arcade/guide/types/#attachment)>"}},"parametersInfo":{"min":1,"max":2}},{"type":"function","name":"average","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#average","description":"Vraća prosečnu vrednost datog numeričkog polja u FeatureSet-u.","examples":"\n**Primeri**\n\nizračunava razliku između populacije geoobjekta i prosečne populacije svih geoobjekata u sloju\n\n```arcade\n$feature.population - Average($layer, 'population')\n```\n\nizračunava prosečnu populaciju po kvadratnoj milji svih geoobjekata u sloju\n\n```arcade\nAverage($layer, 'population / area')\n```\n\n","completion":{"label":"Average","detail":"Average(features, fieldNameOrSQLExpression) -> Number","insertText":"Average(${1:features_}, ${2:fieldNameOrSQLExpression_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća prosečnu vrednost datog numeričkog polja u FeatureSet-u.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet na kom treba izvršiti operaciju.\n- **fieldNameOrSQLExpression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Navodi ime numeričkog polja ili SQL92 izraz za koji će se izračunati statistika iz ulaznog FeatureSet-a (skup geoobjekata).\n\n**Povratna vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"contains","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#contains","description":"Vraća geoobjekte iz FeatureSet-a koji su sadržani unutar ulazne geometrije.\n\nČ_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________ž. Č_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________ž","examples":"\n**Primer**\n\nVraća broj geoobjekata koji su unutar datog poligona\n\n```arcade\nvar parcels = FeatureSetByName($map, 'parcels')\nvar projectArea = $feature;\nCount(Contains(projectArea, parcels));\n```\n\n","completion":{"label":"Contains","detail":"Contains(containerGeometry, insideFeatures) -> FeatureSet","insertText":"Contains(${1:containerGeometry_}, ${2:insideFeatures_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća geoobjekte iz FeatureSet-a koji su sadržani unutar ulazne geometrije.\n\nČ_**Be aware that using `$feature` as input to this function will yield results only as precise as the view's scale resolution________________________________________________________________ž. Č_Therefore values returned from expressions using this function may change after zooming between scales.**______________________________________________________ž\n\n**Parametri**\n\n- **containerGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometrija koja se testira za odnos 'contains' (sadrži) sa `insideFeatures`. Zamislite ovu geometriju kao potencijalni 'container' (spremište) za `insideFeatures`.\n- **insideFeatures**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - Skup geoobjekata koji se testira za odnos 'within' (unutar) za `containerGeometry` (geometrija spremišta).\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)\n\n**Dodatni resursi**\n\n* [Contains](https://esri.github.io/geometry-api-java/doc/Contains.html)\n"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"count","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#count","description":"Vraća broj geoobjekata u FeatureSet.","examples":"\n**Primer**\n\nVraća broj geoobjekata u sloju\n\n```arcade\nCount($layer)\n```\n\n","completion":{"label":"Count","detail":"Count(features) -> Number","insertText":"Count(${1:features_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća broj geoobjekata u FeatureSet.\n\n**Parametar**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet iz koga se broji broj geoobjekata\n\n**Povratna vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"crosses","bundle":"data-access","sinceVersion":"1.3","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#crosses","description":"Vraća geoobjekte iz FeatureSet-a koji se ukrštaju sa ulaznom geometrijom.\n\nČ__Feature geometries in the visualization and labeling profiles________________________________ž Č_are generalized according to the view's scale resolution to improve drawing performance_____________________________________________ž. Č_Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts_______________________________________________________ž Č_will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry.______________________________________________________________ž","examples":"\n**Primer**\n\nVraća broj geoobjekata u FeatureSet koji prelaze dati poligon\n\n```arcade\nvar geom2 = Polygon({ ... });\nCount( Crosses($layer, geom2) );\n```\n\n","completion":{"label":"Crosses","detail":"Crosses(features, crossingGeometry) -> FeatureSet","insertText":"Crosses(${1:features_}, ${2:crossingGeometry_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.3](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća geoobjekte iz FeatureSet-a koji se ukrštaju sa ulaznom geometrijom.\n\nČ__Feature geometries in the visualization and labeling profiles________________________________ž Č_are generalized according to the view's scale resolution to improve drawing performance_____________________________________________ž. Č_Therefore, using a feature's geometry (i.e. `$feature`) as input to any geometry function in these contexts_______________________________________________________ž Č_will return different results at each scale level. Other profiles, such as popup, provide the full resolution geometry.______________________________________________________________ž\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - Geoobjekti za testiranje odnosa ukrštanja sa ulaznom`crossingGeometry`.\n- **crossingGeometry**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Geometrija koja se ukršta.\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)\n\n**Dodatni resursi**\n\n* [Crosses](https://esri.github.io/geometry-api-java/doc/Crosses.html)\n"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"distinct","bundle":"data-access","sinceVersion":"1.8","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#distinct","description":"Vraća skup različitih ili jedinstvenih vrednosti iz skupa FeatureSet.","examples":"\n**Primeri**\n\nVraća FeatureSet sa kolonom Status. Svaki red FeatureSet-a sadrži jedinstvenu statističku vrednost\n\n```arcade\nDistinct($layer, 'Status')\n```\n\nVraća FeatureSet sa kolonama Status i Tip. Svaki red FeatureSet-a sadrži jedinstvenu kombinaciju vrednosti Statusa i Tipa\n\n```arcade\nDistinct($layer, ['Status', 'Type'])\n```\n\nVraća FeatureSet sa kolonom Gustina sa redovima koji mogu da sadrže vrednosti „Niska”, „Visoka” ili „Nije dostupno”\n\n```arcade\nDistinct($layer, {\n name: \"Density\",\n expression: \"CASE WHEN PopDensity < 100 THEN 'Low' WHEN PopDensity >= 100 THEN 'High' ELSE 'N/A' END\"\n})\n```\n\nVraća FeatureSet sa kolonama Rezultat i Tip\n\n```arcade\nDistinct($layer, [{\n name: 'Score',\n expression: 'POPULATION_DENSITY * 0.65 + Status_Code * 0.35'\n}, {\n name: 'Type',\n expression: 'Category'\n}])\n```\n\n","completion":{"label":"Distinct","detail":"Distinct(features, fields) -> FeatureSet","insertText":"Distinct(${1:features_}, ${2:fields_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.8](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća skup različitih ili jedinstvenih vrednosti iz skupa FeatureSet.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet iz koga se vraćaju jedinstvene vrednosti.\n- **fields**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> \\| [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - Polje(-a) i/ili izraz(i) od kojih se utvrđuju jedinstvene vrednosti. Ovaj parametar može biti niz imena polja, niz izraza, ili rečnik ili niz rečnika koji specificiraju imena izlaznih kolona gde će se čuvati jedinstvene vrednosti. Ako je naveden rečnik, mora se koristiti sledeća specifikacija:\n\n - **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Naziv kolone u koju se skladišti rezultat datog izraza.\n - **expression**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - SQL-92 izraz iz kojeg se izračunava jedinstvena vrednost.\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"domain","bundle":"data-access","sinceVersion":"1.11","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domain","description":"Vraća domen koji je dodeljen datom polju datom `featureSet` (skupu geoobjekata) Ako `featureSet` (skup geoobjekata) pripada klasi sa podtipom, ovo vraća domen dodeljen podtipu.","examples":"\n**Primer**\n\nDomen dodeljen podtipu geoobjekta\n\n```arcade\nvar fsPole = FeatureSetByName($layer, \"Pole\", 1);\nvar d = Domain(fsPole, \"poleType\")\n// the poleType field has a coded value domain called poleTypes\n// the value of d will be\n// {\n// type: \"codedValue\" ,\n// name: \"poleTypesThreePhase\",\n// dataType: \"number\",\n// codedValues: [\n// { name: \"Unknown\", code: 0 },\n// { name: \"Wood\", code: 1 },\n// { name: \"Steel\", code: 2 }\n// { name: \"Reinforced Steel\", code: 3 }\n// ]\n// }\n```\n\n","completion":{"label":"Domain","detail":"Domain(features, fieldName, subtype?) -> Dictionary","insertText":"Domain(${1:features_}, ${2:fieldName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća domen koji je dodeljen datom polju datom `featureSet` (skupu geoobjekata) Ako `featureSet` (skup geoobjekata) pripada klasi sa podtipom, ovo vraća domen dodeljen podtipu.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet (skup geoobjekata) čiji geoobjekti sadrže polje koje ima domen.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ime polja (ne alijas polja) koje sadrži domen.\n- **subtype** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) \\| [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Kodirana vrednost za podtip, ako geoobjekat podržava podtipove.\n\n**Povratna vrednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVraća rečnik opisan dole navedenim svojstvima.\n\n- **type**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Tip domena - ili `codedValue` (kodirana vrednost) ili `range` (opseg).\n- **name**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ime domena.\n- **dataType**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Tip podataka za polje domena. To može da bude jedna od sledećih vrednosti: `esriFieldTypeSmallInteger`, `esriFieldTypeInteger`, `esriFieldTypeBigInteger`, `esriFieldTypeSingle`, `esriFieldTypeDouble`, `esriFieldTypeString`, `esriFieldTypeDate`, `esriFieldTypeOID`, `esriFieldTypeGeometry`, `esriFieldTypeBlob`, `esriFieldTypeRaster`, `esriFieldTypeGUID`, `esriFieldTypeGlobalID`, `esriFieldTypeXML`.\n- **min**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Primenljivo samo na domene `range` (opsega). Minimalna vrednost domena.\n- **max**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Primenljivo samo na domene `range` (opsega). Maksimalna vrednost domena.\n- **codedValues**: [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary)> - Primenljivo samo na `codedValue` domene. Niz rečnika koji opisuju važeće vrednosti za polje. Svaki rečnik ima svojstvo `code`, koje sadrži stvarnu vrednost polja, i svojstvo `name` koje sadrži opsi prilagođen korisniku za vrednost (npr. `{ code: 1, name: \"pavement\" }`)."}},"parametersInfo":{"min":2,"max":3}},{"type":"function","name":"domaincode","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domaincode","description":"Vraća kod povezanog opisa domena u FeatureSet.","examples":"\n**Primer**\n\nŠtampa opis domena za referencirano polje.\n\n```arcade\nDomainCode($layer, 'Enabled', 'True', subtype)\n```\n\n","completion":{"label":"DomainCode","detail":"DomainCode(features, fieldName, value, subtype?) -> Number,Text","insertText":"DomainCode(${1:features_}, ${2:fieldName_}, ${3:value_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća kod povezanog opisa domena u FeatureSet.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - Set geoobjekta sa poljem koje ima domen.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ime polja (ne alijas polja) koje sadrži domen.\n- **value**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Vrednost koja treba da se konvertuje nazad u kod. Vraćeni kod potiče iz metapodataka servisa.\n- **subtype** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kodiran broj podtipa, ako set geoobjekta podržava pravljenje podtipova.\n\n**Povratna vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text)"}},"parametersInfo":{"min":3,"max":4}},{"type":"function","name":"domainname","bundle":"data-access","sinceVersion":"1.7","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#domainname","description":"Vraća opisno ime za kod domena u FeatureSet.","examples":"\n**Primer**\n\nštampa opis domena za referencirano polje.\n\n```arcade\nDomainName($layer, 'fieldName')\n```\n\n","completion":{"label":"DomainName","detail":"DomainName(features, fieldName, code?, subtype?) -> Text","insertText":"DomainName(${1:features_}, ${2:fieldName_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.7](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća opisno ime za kod domena u FeatureSet.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet sa poljem koje ima domen.\n- **fieldName**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ime polja (ne alijas polja) koje sadrži domen.\n- **code** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kod povezan sa željenim opisnim imenom. Vraćeni kod potiče iz metapodataka servisa.\n- **subtype** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) \\| [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Kodiran broj podtipa, ako set geoobjekta podržava pravljenje podtipova.\n\n**Povratna vrednost**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"}},"parametersInfo":{"min":2,"max":4}},{"type":"function","name":"envelopeintersects","bundle":"data-access","sinceVersion":"1.11","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#envelopeintersects","description":"Vraća geoobjekte iz FeatureSet-a kada pravougaonici (ili obuhvat) skupa geobjekata presecaju pravougaonik druge geometrije. U grafiku ispod, crvena oznaka ilustruje prostorne odnose u kojima funkcija vraća geoobjekte.\n\n_Geometrije karakteristika u profilima vizuelizacije i označavanja generalizovani su prema rezoluciji razmere prikaza da bi se poboljšale performanse crtanja. Zbog toga, korišćenje geometrije obeležja (tj. `$feature`) kao ulaza za bilo koju geometrijsku funkciju u ovim kontekstima vratiće različite rezultate na svakom nivou skale. Drugi profili, kao što je iskačući prozor, pružaju geometriju pune rezolucije._","examples":"\n**Primer**\n\nVraća broj geoobjekata koji presecaju pravougaonik geom2\n\n```arcade\nvar geom2 = Polygon({ ... });\nCount( EnvelopeIntersects($layer, geom2) );\n```\n\n","completion":{"label":"EnvelopeIntersects","detail":"EnvelopeIntersects(features, envelope) -> FeatureSet","insertText":"EnvelopeIntersects(${1:features_}, ${2:envelope_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.11](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nVraća geoobjekte iz FeatureSet-a kada pravougaonici (ili obuhvat) skupa geobjekata presecaju pravougaonik druge geometrije. U grafiku ispod, crvena oznaka ilustruje prostorne odnose u kojima funkcija vraća geoobjekte.\n\n_Geometrije karakteristika u profilima vizuelizacije i označavanja generalizovani su prema rezoluciji razmere prikaza da bi se poboljšale performanse crtanja. Zbog toga, korišćenje geometrije obeležja (tj. `$feature`) kao ulaza za bilo koju geometrijsku funkciju u ovim kontekstima vratiće različite rezultate na svakom nivou skale. Drugi profili, kao što je iskačući prozor, pružaju geometriju pune rezolucije._\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - FeatureSet koji se testira za odnos presecanja sa ulaznim `envelope` (pravougaonikom).\n- **envelope**: [Geometry](https://developers.arcgis.com/arcade/guide/types/#geometry) \\| [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - Pravougaonik koji se preseca.\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":2,"max":2}},{"type":"function","name":"expects","bundle":"data-access","sinceVersion":"1.15","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#expects","description":"Zahteva dodatne atribute za dati FeatureSet.","examples":"\n**Primer**\n\nZahteva polje POPULACIJE za geoobjekte u klasteru\n\n```arcade\n// If the layer is clustered based on count,\n// only the OBJECTID field is requested by default.\n// To display the sum of the POPULATION field\n// for all features in the cluster, we must\n// explicitly request the POPULATION data. \nExpects($aggregatedFeatures, 'POPULATION')\nText(Sum($aggregatedFeatures, 'POPULATION'), '#,###')\n```\n\n","completion":{"label":"Expects","detail":"Expects(features, field1, [field2, ..., fieldN]?) -> Null","insertText":"Expects(${1:features_}, ${2:field1_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.15](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nZahteva dodatne atribute za dati FeatureSet.\n\n**Parametri**\n\n- **features**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset) - Set geoobjekta za koji se kače zahtevana polja.\n- **field1**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ime polja za zahtev za datu funkciju. Popišite samo polja koja treba iskoristiti u izrazu. Po potrebi možete zahtevati sva polja pomoću znaka džokera \"*\". Međutim, ovo treba izbegavati da bi se sprečilo učitavanje bespotrebne količine podataka koji mogu negativno uticati na performanse aplikacije. Ova vrednost mora da bude tekstualni literal i ne može da bude promenljiva.\n- **[field2, ..., fieldN]** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Otvorena lista naziva polja koje treba zahtevati za dati geoobjekat. Popišite samo polja koja treba iskoristiti u izrazu. Ove vrednosti moraju da budu tekstualni literali i ne mogu da budu promenljive.\n\n**Povratna vrednost**: Null"}},"parametersInfo":{"min":2,"max":-1}},[{"type":"function","name":"featureset","bundle":"data-access","sinceVersion":"1.5","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featureset1","description":"Kreira novi FeatureSet (skup geoobjekata) iz JSON u skladu sa ArcGIS REST specifikacijama. Kao primer za to pogledajte isečak ispod.","examples":"\n**Primer**\n\nKreirajte FeatureSet (skup geoobjekata) iz JSON.\n\n```arcade\n// JSON representation of the feature used in the snippet below\n// {\n// 'fields': [{\n// 'alias': 'RANK',\n// 'name': 'RANK',\n// 'type': 'esriFieldTypeInteger'\n// }, {\n// 'alias': 'ELEV_m',\n// 'name': 'ELEV_m',\n// 'type': 'esriFieldTypeInteger'\n// }],\n// 'spatialReference': { 'wkid': 4326 },\n// 'geometryType': 'esriGeometryPoint',\n// 'features': [{\n// 'geometry': {\n// 'spatialReference': { 'wkid': 4326 },\n// 'x': -151.0063,\n// 'y': 63.069\n// },\n// 'attributes': {\n// 'RANK': 1,\n// 'ELEV_m': 6168\n// }\n// }]\n// };\n// The Dictionary representation of the FeatureSet must be a serialized text value\nvar features = FeatureSet('{\"fields\":[{\"alias\":\"RANK\",\"name\":\"RANK\",\"type\":\"esriFieldTypeInteger\"},{\"alias\":\"ELEV_m\",\"name\":\"ELEV_m\",\"type\":\"esriFieldTypeInteger\"}],\"spatialReference\":{\"wkid\":4326},\"geometryType\":\"esriGeometryPoint\",\"features\":[{\"geometry\":{\"spatialReference\":{\"wkid\":4326},\"x\":-151.0063,\"y\":63.069},\"attributes\":{\"RANK\":1,\"ELEV_m\":6168}}]}')\n```\n\n","completion":{"label":"FeatureSet","detail":"FeatureSet(definition) -> FeatureSet","insertText":"FeatureSet(${1:definition_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.5](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nKreira novi FeatureSet (skup geoobjekata) iz JSON u skladu sa ArcGIS REST specifikacijama. Kao primer za to pogledajte isečak ispod.\n\n**Parametar**\n\n- **definition**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - JSON koji opisuje skup geoobjekata. JSON mora biti serijalizovan kao tekstualna vrednost.\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":1,"max":1}},{"type":"function","name":"featureset","bundle":"data-access","sinceVersion":"1.19","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featureset2","description":"Kreira novi FeatureSet iz rečnika koji predstavlja JSON prema ArcGIS REST specifikaciji. Kao primer za to pogledajte isečak ispod.","examples":"\n**Primer**\n\nKreira FeatureSet iz rečnika.\n\n```arcade\n// JSON representation of the feature used in the snippet below\nvar d = {\n fields: [{\n alias: 'RANK',\n name: 'RANK',\n type: 'esriFieldTypeInteger'\n }, {\n alias: 'ELEV_m',\n name: 'ELEV_m',\n type: 'esriFieldTypeInteger'\n }],\n spatialReference: { wkid: 4326 },\n geometryType: 'esriGeometryPoint',\n features: [{\n geometry: {\n spatialReference: { wkid: 4326 },\n x: -151.0063,\n y: 63.069\n },\n attributes: {\n RANK: 1,\n ELEV_m: 6168\n }\n }]\n };\nvar features = FeatureSet(d)\n```\n\n","completion":{"label":"FeatureSet","detail":"FeatureSet(definition) -> FeatureSet","insertText":"FeatureSet(${1:definition_})$0","insertTextMode":2,"insertTextFormat":2,"kind":3,"documentation":{"kind":"markdown","value":"**[Od verzije 1.19](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nKreira novi FeatureSet iz rečnika koji predstavlja JSON prema ArcGIS REST specifikaciji. Kao primer za to pogledajte isečak ispod.\n\n**Parametar**\n\n- **definition**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Rečnik koji opisuje skup geoobjekata.\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"}},"parametersInfo":{"min":1,"max":1}}],{"type":"function","name":"featuresetbyassociation","bundle":"data-access","sinceVersion":"1.9","link":"https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyassociation","description":"Vraća sve geoobjekte povezane sa ul