当前位置:网站首页>ArcGIS JS version military landmark drawing (dovetail arrow, pincer arrow, assembly area) fan and other custom graphics

ArcGIS JS version military landmark drawing (dovetail arrow, pincer arrow, assembly area) fan and other custom graphics

2022-04-23 20:17:00 Tomorrow's sun

ArcGIS API for JavaScript   Version of custom graphic plotting .

Support :

arcgis js 3.x 

arcgis js 4.x

Baidu Maps

Gould map

openlayer offline map

The sample code

 

 createPlot: function (type,points){
            switch (type){
                case this.SECTOR:
                    return new Sector(points);
                case this.DOUBLE_ARROW:
                    return new DoubleArrow(points);
                case this.FINE_ARROW:
                    return new FineArrow(points);
                case this.SQUAD_COMBAT:
                    return new SquadCombat(points);
                case this.ATTACK_ARROW:
                    return new AttackArrow(points);
                case this.TAILED_SQUAD_COMBAT:
                    return new TailedSquadCombat(points);
                case this.TAILED_ATTACK_ARROW:
                    return new TailedAttackArrow(points);
                case this.GATHERING_PLACE:
                    return new GatheringPlace(points);
                case this.CLOSED_CURVE:
                    return new ClosedCurve(points);
            }console.log(' Contact email [email protected]');

}

 

 

 

 

 

I don't want to talk much about it ,

Needed Please contact email

版权声明
本文为[Tomorrow's sun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210553339918.html