<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS 4.28.10 JavaScript - Feature Layer not rendering full view in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-28-10-javascript-feature-layer-not/m-p/1378914#M83588</link>
    <description>&lt;P&gt;&lt;SPAN&gt;We have a large view of the entire country of Brazil, and when we're zoomed out the Feature Layer isn't rendering completely.&amp;nbsp; If we zoom into smaller areas the view is correct, but at a zoomed out view it's very broken. I dont want to use&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self" rel="nofollow noopener noreferrer"&gt;/next&lt;/A&gt;&amp;nbsp; version 4.16 isnt available and only available 4.17 to up&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer";
import { useGlobalContext } from "./VariablesContext";

function CellsLayer() {
  const { map } = useGlobalContext();
  var cellString = `{censured}`;
  const cellBase64 = btoa(cellString);
  const cellsymbol = {
    type: "picture-marker",
    url: "data&amp;amp;colon;image/svg+xml;base64," + cellBase64,
    width: "50px",
    height: "50px",
  };

  let cellsRenderer = {
    type: "simple", // autocasts as new SimpleRenderer()
    symbol: cellsymbol,
    visualVariables: [
      {
        type: "rotation",
        field: "azimuth",
        rotationType: "geographic",
      },
      {
        type: "color",
        field: "height",
        stops: [
          { value: 50, color: "#05F551" },
          { value: 60, color: "#F50505" },
        ],
        legendOptions: {
          title: "Height",
        },
      },
    ],
  };
  const cellsLayer = new OGCFeatureLayer({
    url: "{censured}",
    collectionId: "{censured}",
    renderer: cellsRenderer,
  });
  if (map) {
    map.add(cellsLayer);
  }
}

export default CellsLayer;
&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 06 Feb 2024 23:06:09 GMT</pubDate>
    <dc:creator>KarenArcoverde</dc:creator>
    <dc:date>2024-02-06T23:06:09Z</dc:date>
    <item>
      <title>ArcGIS 4.28.10 JavaScript - Feature Layer not rendering full view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-28-10-javascript-feature-layer-not/m-p/1378914#M83588</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We have a large view of the entire country of Brazil, and when we're zoomed out the Feature Layer isn't rendering completely.&amp;nbsp; If we zoom into smaller areas the view is correct, but at a zoomed out view it's very broken. I dont want to use&amp;nbsp;&amp;nbsp;&lt;A href="https://github.com/Esri/feedback-js-api-next" target="_self" rel="nofollow noopener noreferrer"&gt;/next&lt;/A&gt;&amp;nbsp; version 4.16 isnt available and only available 4.17 to up&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import OGCFeatureLayer from "@arcgis/core/layers/OGCFeatureLayer";
import { useGlobalContext } from "./VariablesContext";

function CellsLayer() {
  const { map } = useGlobalContext();
  var cellString = `{censured}`;
  const cellBase64 = btoa(cellString);
  const cellsymbol = {
    type: "picture-marker",
    url: "data&amp;amp;colon;image/svg+xml;base64," + cellBase64,
    width: "50px",
    height: "50px",
  };

  let cellsRenderer = {
    type: "simple", // autocasts as new SimpleRenderer()
    symbol: cellsymbol,
    visualVariables: [
      {
        type: "rotation",
        field: "azimuth",
        rotationType: "geographic",
      },
      {
        type: "color",
        field: "height",
        stops: [
          { value: 50, color: "#05F551" },
          { value: 60, color: "#F50505" },
        ],
        legendOptions: {
          title: "Height",
        },
      },
    ],
  };
  const cellsLayer = new OGCFeatureLayer({
    url: "{censured}",
    collectionId: "{censured}",
    renderer: cellsRenderer,
  });
  if (map) {
    map.add(cellsLayer);
  }
}

export default CellsLayer;
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Feb 2024 23:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-28-10-javascript-feature-layer-not/m-p/1378914#M83588</guid>
      <dc:creator>KarenArcoverde</dc:creator>
      <dc:date>2024-02-06T23:06:09Z</dc:date>
    </item>
  </channel>
</rss>

