| | |
| | | that.createTwinkleEntitys(that.addEntitys, lgtd, lttd, './images/real-time-callPolice-opcity.png'); |
| | | // console.log(deptId,153454) |
| | | $.ajax({ |
| | | url: "https://web.byisf.com/api/blade-user/pages?current=1&size=9999&work_status=&deptId=" + deptId, |
| | | url: "http://s16s652780.51mypc.cn/api/blade-user/pages?current=1&size=9999&work_status=&deptId=" + deptId, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | |
| | | addPoint: function (entitys, lgtd, lttd, img) { |
| | | var symbol = new esri.symbol.PictureMarkerSymbol(img, 22, 32); |
| | | symbol.xoffset = 0; |
| | | symbol.xoffset = 0; |
| | | symbol.yoffset = -2; |
| | | var pt = new Point(lgtd, lttd, new SpatialReference({ |
| | | wkid: 4326 |
| | |
| | | createEntitys: function (entitys, lgtd, lttd, image) { |
| | | |
| | | var symbol = new esri.symbol.PictureMarkerSymbol(image, 44, 44); |
| | | |
| | | |
| | | var width = 44; |
| | | var height = 44; |
| | | var pt = new Point(lgtd, lttd, new SpatialReference({ |