empicard

disconnect between baselayer and graphics layer

Discussion created by empicard on May 25, 2012
Latest reply on May 29, 2012 by DSwingley-esristaff
When I zoom and pan, there seems to be a delay between the graphics layer and the esri baselayer.

        var basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");
        map.addLayer(basemap);


        var selectedRepGraphic = new esri.layers.GraphicsLayer;
        var selectedRepSymbol = new esri.symbol.SimpleMarkerSymbol();
        selectedRepSymbol.style = esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE;
        selectedRepSymbol.setSize(10);
        selectedRepSymbol.setColor(new dojo.Color([0,255,0, 1]));   
        selectedRepGraphic.setRenderer(selectedRepSymbol);
        selectedRepGraphic.add(selectedRep);
        map.addLayer(selectedRepGraphic);


Any idea what I could do to fix it?  Not sure if it matters, but the points layer as 800,000-1M+ points.


Thanks all.

Outcomes