Basemap pan and zoom lagging / jittery

653
1
04-11-2022 05:10 AM
arahman_mdmajid
Occasional Contributor

I am using the Map in a Map view in the latest API version. However, I am getting a considerable lag and delay while performing essential pan and zoom functions.

ezgif.com-gif-maker (2).gif

 

 Here is the code below; pretty standard stuff, but still, the movement is very jerky.

 

    esriConfig.apiKey = "********************";
    const container = this.mapViewEl.nativeElement;
    const map = new Map({
      basemap: "arcgis-imagery-standard"
    });

    const view = new MapView({
      container,
      map: map,
      center: [40.46, 21.423], // Longitude, latitude
      zoom: 8
    });

 

How can I make it more smooth? 

Abdur Rahman
GIS Developer
1 Reply
AndyGup
Esri Regular Contributor

This post is a duplicate. Please direct comments/questions to the other thread => https://community.esri.com/t5/arcgis-api-for-javascript-questions/map-lagging-on-drag-and-drop-movem...