Esri / esri-loader

A tiny library to help load ArcGIS API for JavaScript modules in non-Dojo applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular esri-loader 4.18 graphics refresh bug

MakiG007 opened this issue · comments

This Stack Blitz best showcases the issue: https://stackblitz.com/edit/angular-esri-loader-graphics-layer-bug?file=src/app/app.component.ts

Expected behavior

  • Add a graphic to the map, it should appear without requiring the user to zoom in/out
  • Latest Angular, esri-loader

Actual behavior

  • With esri js api version 4.18, the graphics do not appear until the user zooms in/out

Steps to reproduce the behavior

  1. https://stackblitz.com/edit/angular-esri-loader-graphics-layer-bug?file=src/app/app.component.ts
  2. Click the "Load Map 4.18" button
  3. Note that the graphics do not appear until you zoom in/out
commented

@MakiG007 thanks for reporting. This is a known issue that we are looking into.

Reference: Esri/jsapi-resources#268

commented

@MakiG007 we've believe we've fixed this bug. Please retest using npm install @arcgis/core@next

@andygup confirmed, thanks, this appears to resolve the issues

commented

Awesome, thanks for confirming. The fix will officially go out in the early April 4.19 production release.