Demo entry 6635286

为恶趣味

   

Submitted by anonymous on Aug 17, 2017 at 07:45
Language: JavaScript. Code size: 618 Bytes.

 _jianxiu._layerinfos.push(countyLayer);

            dojo.forEach(resultsObj,
            function(item, index) {
                var attr = {
                    "NAME": item.NAME,
                    "RESOURCEID": item.RESOURCEID
                };
                var html = " ";
                var point = new Point([item.X, item.Y], new SpatialReference({
                    wkid: 4326
                }));
                var sysboml = new PictureMarkerSymbol('/hd_gis/pages/images/jx_new.png', 28, 28);
                countyLayer.add(new Graphic(point, sysboml, attr, null));

            });

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).