mfans
mfans
  • 发布:2016-02-22 12:42
  • 更新:2016-03-15 17:56
  • 阅读:1146

添加Circle覆盖物,闪退

分类:HTML5+
var cpoint = new plus.maps.Point(locations.longitude, locations.latitude);  

            companyMarker = new plus.maps.Marker(cpoint);  
            companyMarker.setIcon("../../images/companylocation.png");  
            mapObj.addOverlay(companyMarker);  
            console.log(locations.error);  
            var scope = locations.error;  

            var circleObj = new plus.maps.Circle(cpoint, scope);   
            circleObj.setStrokeColor("#1725e7");  
            circleObj.setLineWidth(1);  
            circleObj.setStrokeOpacity(0.5);  
            circleObj.setFillColor("#1725e7");  
            circleObj.setFillOpacity(0.2);  
            mapObj.addOverlay(circleObj);  
            mapObj.setCenter(point);  

添加marker成功,添加Circle就闪退.

2016-02-22 12:42 负责人:无 分享
已邀请:
larry_cao

larry_cao

android,闪退,关注下

DCloud_Android_ST

DCloud_Android_ST

新版看看还有问题吗

该问题目前已经被锁定, 无法添加新回复