Commit 6b55c8e9bfcdaf592ce18e3bf78fd74d2e139608
1 parent
987f5ca8
李强
Showing
11 changed files
with
207 additions
and
95 deletions
src/main/java/com/bsth/repository/StationRouteRepository.java
| ... | ... | @@ -109,7 +109,7 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int |
| 109 | 109 | * |
| 110 | 110 | * @return List<Object[]> |
| 111 | 111 | */ |
| 112 | - @Query(value = "SELECT s.b_jwpoints FROM (" + | |
| 112 | + @Query(value = "SELECT s.b_jwpoints,s.station_name FROM (" + | |
| 113 | 113 | "SELECT b.station FROM bsth_c_stationroute b where b.line =?1 and b.directions = ?2 and b.destroy=0) r " + |
| 114 | 114 | "LEFT JOIN bsth_c_station s on r.station = s.id", nativeQuery=true) |
| 115 | 115 | List<Object[]> getSelectStationRouteCenterPoints(Integer lineId,Integer direction); | ... | ... |
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
| ... | ... | @@ -457,7 +457,9 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ |
| 457 | 457 | |
| 458 | 458 | Map<String, Object> tempM = new HashMap<String,Object>(); |
| 459 | 459 | |
| 460 | - tempM.put("bJwpoints", list.get(i)); | |
| 460 | + tempM.put("bJwpoints", list.get(i)[0]); | |
| 461 | + | |
| 462 | + tempM.put("stationName", list.get(i)[1]); | |
| 461 | 463 | |
| 462 | 464 | resultList.add(tempM); |
| 463 | 465 | ... | ... |
src/main/resources/static/pages/base/line/add.html
| ... | ... | @@ -189,6 +189,24 @@ |
| 189 | 189 | </div> |
| 190 | 190 | </div> |
| 191 | 191 | |
| 192 | + <!-- 起始站名称 --> | |
| 193 | + <div class="form-group"> | |
| 194 | + <label class="control-label col-md-3"> 起始站名称: </label> | |
| 195 | + <div class="col-md-4"> | |
| 196 | + <input type="text" class="form-control" name="startStationName" id="startStationNameInput" placeholder="起始站名称"> | |
| 197 | + <span class="help-block"> 说明 :上行起始站名称 </span> | |
| 198 | + </div> | |
| 199 | + </div> | |
| 200 | + | |
| 201 | + <!-- 终点站名称 --> | |
| 202 | + <div class="form-group"> | |
| 203 | + <label class="control-label col-md-3"> 终点站名称: </label> | |
| 204 | + <div class="col-md-4"> | |
| 205 | + <input type="text" class="form-control" name="endStationName" id="endStationNameInput" placeholder="终点站名称"> | |
| 206 | + <span class="help-block"> 说明 :上行终点站名称 </span> | |
| 207 | + </div> | |
| 208 | + </div> | |
| 209 | + | |
| 192 | 210 | <!-- 设备线路编码 --> |
| 193 | 211 | <div class="form-group"> |
| 194 | 212 | <label class="control-label col-md-3"> 设备线路编码: </label> |
| ... | ... | @@ -221,27 +239,12 @@ |
| 221 | 239 | </div> |
| 222 | 240 | </div> |
| 223 | 241 | |
| 224 | - <!-- 起始站名称 --> | |
| 225 | - <div class="form-group"> | |
| 226 | - <label class="control-label col-md-3"> 起始站名称: </label> | |
| 227 | - <div class="col-md-4"> | |
| 228 | - <input type="text" class="form-control" name="startStationName" id="startStationNameInput" placeholder="起始站名称"> | |
| 229 | - </div> | |
| 230 | - </div> | |
| 231 | - | |
| 232 | - <!-- 终点站名称 --> | |
| 233 | - <div class="form-group"> | |
| 234 | - <label class="control-label col-md-3"> 终点站名称: </label> | |
| 235 | - <div class="col-md-4"> | |
| 236 | - <input type="text" class="form-control" name="endStationName" id="endStationNameInput" placeholder="终点站名称"> | |
| 237 | - </div> | |
| 238 | - </div> | |
| 239 | - | |
| 240 | 242 | <!-- 起始站首班车时间 --> |
| 241 | 243 | <div class="form-group"> |
| 242 | 244 | <label class="control-label col-md-3"> 起始站首班车时间: </label> |
| 243 | 245 | <div class="col-md-4"> |
| 244 | 246 | <input type="text" class="form-control" name="startStationFirstTime" id="startStationFirstTimeInput" placeholder="起始站首班车时间"> |
| 247 | + <span class="help-block"> 例如 :06:00 </span> | |
| 245 | 248 | </div> |
| 246 | 249 | </div> |
| 247 | 250 | |
| ... | ... | @@ -250,6 +253,7 @@ |
| 250 | 253 | <label class="control-label col-md-3"> 起始站末班车时间: </label> |
| 251 | 254 | <div class="col-md-4"> |
| 252 | 255 | <input type="text" class="form-control" name="StartStationEndTime" id="StartStationEndTimeInput" placeholder="起始站末班车时间 "> |
| 256 | + <span class="help-block"> 例如 :17:00 </span> | |
| 253 | 257 | </div> |
| 254 | 258 | </div> |
| 255 | 259 | |
| ... | ... | @@ -259,6 +263,7 @@ |
| 259 | 263 | <label class="control-label col-md-3"> 终点站首班车时间: </label> |
| 260 | 264 | <div class="col-md-4"> |
| 261 | 265 | <input type="text" class="form-control" name="endStationFirstTime" id="endStationFirstTimeInput" placeholder="终点站首班车时间"> |
| 266 | + <span class="help-block"> 例如 :05:00 </span> | |
| 262 | 267 | </div> |
| 263 | 268 | </div> |
| 264 | 269 | |
| ... | ... | @@ -267,6 +272,7 @@ |
| 267 | 272 | <label class="control-label col-md-3"> 终点站末班车时间: </label> |
| 268 | 273 | <div class="col-md-4"> |
| 269 | 274 | <input type="text" class="form-control" name="endStationEndTime" id="endStationEndTimeInput" placeholder="终点站末班车时间 "> |
| 275 | + <span class="help-block"> 例如 :18:00 </span> | |
| 270 | 276 | </div> |
| 271 | 277 | </div> |
| 272 | 278 | ... | ... |
src/main/resources/static/pages/base/line/js/line-add-form.js
| ... | ... | @@ -162,7 +162,23 @@ $(function(){ |
| 162 | 162 | required : true, |
| 163 | 163 | |
| 164 | 164 | // 最大长度 |
| 165 | - maxlength: 20 | |
| 165 | + maxlength: 30 | |
| 166 | + }, | |
| 167 | + | |
| 168 | + // 英文名称 | |
| 169 | + 'es' : { | |
| 170 | + | |
| 171 | + // 最大长度 | |
| 172 | + maxlength: 30 | |
| 173 | + | |
| 174 | + }, | |
| 175 | + | |
| 176 | + // 线路简称 | |
| 177 | + 'shortName' : { | |
| 178 | + | |
| 179 | + // 最大长度 | |
| 180 | + maxlength: 30 | |
| 181 | + | |
| 166 | 182 | }, |
| 167 | 183 | |
| 168 | 184 | // 线路编码 |
| ... | ... | @@ -172,9 +188,49 @@ $(function(){ |
| 172 | 188 | required : true, |
| 173 | 189 | |
| 174 | 190 | // 最大长度 |
| 175 | - maxlength: 20 | |
| 191 | + maxlength: 30 | |
| 192 | + }, | |
| 193 | + | |
| 194 | + // 所属公司 | |
| 195 | + 'company' : { | |
| 196 | + | |
| 197 | + // 最大长度 | |
| 198 | + maxlength: 30 | |
| 176 | 199 | }, |
| 177 | 200 | |
| 201 | + // 线路性质 | |
| 202 | + 'nature' : { | |
| 203 | + | |
| 204 | + // 最大长度 | |
| 205 | + maxlength: 30 | |
| 206 | + | |
| 207 | + }, | |
| 208 | + | |
| 209 | + // 线路等级 | |
| 210 | + 'level' : { | |
| 211 | + | |
| 212 | + // 最大长度 | |
| 213 | + maxlength: 30 | |
| 214 | + | |
| 215 | + }, | |
| 216 | + | |
| 217 | + // 起始站名称 | |
| 218 | + 'startStationName' : { | |
| 219 | + | |
| 220 | + // 最大长度 | |
| 221 | + maxlength: 30 | |
| 222 | + | |
| 223 | + }, | |
| 224 | + | |
| 225 | + // 终点站名称 | |
| 226 | + 'endStationName' : { | |
| 227 | + | |
| 228 | + // 最大长度 | |
| 229 | + maxlength: 30 | |
| 230 | + | |
| 231 | + }, | |
| 232 | + | |
| 233 | + | |
| 178 | 234 | // 起始站调度电话 |
| 179 | 235 | 'startPhone' : { |
| 180 | 236 | |
| ... | ... | @@ -185,7 +241,10 @@ $(function(){ |
| 185 | 241 | digits : true, |
| 186 | 242 | |
| 187 | 243 | // 电话号码格式 |
| 188 | - isPhone : true | |
| 244 | + isPhone : true, | |
| 245 | + | |
| 246 | + // 最大长度 | |
| 247 | + maxlength: 30 | |
| 189 | 248 | }, |
| 190 | 249 | |
| 191 | 250 | // 终点站调度电话 |
| ... | ... | @@ -198,7 +257,10 @@ $(function(){ |
| 198 | 257 | digits : true, |
| 199 | 258 | |
| 200 | 259 | // 电话号码格式 |
| 201 | - isPhone : true | |
| 260 | + isPhone : true, | |
| 261 | + | |
| 262 | + // 最大长度 | |
| 263 | + maxlength: 30 | |
| 202 | 264 | }, |
| 203 | 265 | |
| 204 | 266 | // 开辟日期 |
| ... | ... | @@ -221,21 +283,27 @@ $(function(){ |
| 221 | 283 | // 上海市线路编码 |
| 222 | 284 | 'shanghaiLinecode' : { |
| 223 | 285 | |
| 224 | - // 必须输入合法的数字(负数,小数)。 | |
| 286 | + /*// 必须输入合法的数字(负数,小数)。 | |
| 225 | 287 | number : true, |
| 226 | 288 | |
| 227 | 289 | // 必须输入整数。 |
| 228 | - digits : true | |
| 290 | + digits : true,*/ | |
| 291 | + | |
| 292 | + // 最大长度 | |
| 293 | + maxlength: 30 | |
| 229 | 294 | }, |
| 230 | 295 | |
| 231 | 296 | // 设备线路编码 |
| 232 | 297 | 'eqLinecode' : { |
| 233 | 298 | |
| 234 | - // 必须输入合法的数字(负数,小数)。 | |
| 299 | + /*// 必须输入合法的数字(负数,小数)。 | |
| 235 | 300 | number : true, |
| 236 | 301 | |
| 237 | 302 | // 必须输入整数。 |
| 238 | - digits : true | |
| 303 | + digits : true,*/ | |
| 304 | + | |
| 305 | + // 最大长度 | |
| 306 | + maxlength: 30 | |
| 239 | 307 | }, |
| 240 | 308 | |
| 241 | 309 | // 车辆总数 |
| ... | ... | @@ -245,7 +313,10 @@ $(function(){ |
| 245 | 313 | number : true, |
| 246 | 314 | |
| 247 | 315 | // 必须输入整数。 |
| 248 | - digits : true | |
| 316 | + digits : true, | |
| 317 | + | |
| 318 | + // 最大长度 | |
| 319 | + maxlength: 8 | |
| 249 | 320 | }, |
| 250 | 321 | |
| 251 | 322 | // 空调车辆数 |
| ... | ... | @@ -255,7 +326,10 @@ $(function(){ |
| 255 | 326 | number : true, |
| 256 | 327 | |
| 257 | 328 | // 必须输入整数。 |
| 258 | - digits : true | |
| 329 | + digits : true, | |
| 330 | + | |
| 331 | + // 最大长度 | |
| 332 | + maxlength: 8 | |
| 259 | 333 | }, |
| 260 | 334 | |
| 261 | 335 | // 普通车辆数 |
| ... | ... | @@ -265,7 +339,10 @@ $(function(){ |
| 265 | 339 | number : true, |
| 266 | 340 | |
| 267 | 341 | // 必须输入整数。 |
| 268 | - digits : true | |
| 342 | + digits : true, | |
| 343 | + | |
| 344 | + // 最大长度 | |
| 345 | + maxlength: 8 | |
| 269 | 346 | }, |
| 270 | 347 | |
| 271 | 348 | // 描述/说明 | ... | ... |
src/main/resources/static/pages/base/line/js/line-list-table.js
| ... | ... | @@ -14,71 +14,16 @@ |
| 14 | 14 | |
| 15 | 15 | (function(){ |
| 16 | 16 | |
| 17 | - /** 填充公司下拉框选择值 */ | |
| 18 | - $get('/business/all', {upCode_eq: '77'}, function(array){ | |
| 19 | - | |
| 20 | - // 公司下拉options属性值 | |
| 21 | - var options = '<option value="">请选择...</option>'; | |
| 22 | - | |
| 23 | - // 遍历array | |
| 24 | - $.each(array, function(i,d){ | |
| 25 | - | |
| 26 | - options += '<option value="'+d.businessCode+'">'+d.businessName+'</option>'; | |
| 27 | - | |
| 28 | - }); | |
| 29 | - | |
| 30 | - // 填充公司下拉框options | |
| 31 | - $('#companySelect').html(options) | |
| 32 | - | |
| 33 | - /** 闵行没下属公司,这里暂时注释公司值改变事件 */ | |
| 34 | - //$('#companySelect').html(options).on('change', setbrancheCompanySelectOptions); | |
| 35 | - | |
| 36 | - }); | |
| 37 | - | |
| 38 | - /** 填充分公司下拉框。--- 闵行没下属公司,这里暂时注释*/ | |
| 39 | - /* setbrancheCompanySelectOptions();*/ | |
| 40 | - | |
| 41 | - /** 填充分公司下拉框选择值 */ | |
| 42 | - function setbrancheCompanySelectOptions(){ | |
| 43 | - | |
| 44 | - // 获取公司下拉框选择值 | |
| 45 | - var businessCode = $('#companySelect').val(); | |
| 46 | - | |
| 47 | - // 分公司下拉框options属性值 | |
| 48 | - var options = '<option value="">请选择...</option>'; | |
| 49 | - | |
| 50 | - // 如果公司选择为空则分公司为空 ; 否则查询出所属公司下的分公司名称和相应分公司代码 | |
| 51 | - if(businessCode == null || businessCode ==''){ | |
| 52 | - | |
| 53 | - // 填充分公司下拉框options | |
| 54 | - $('#brancheCompanySelect').html(options); | |
| 55 | - | |
| 56 | - } else { | |
| 57 | - | |
| 58 | - /** 查询出所属公司下的分公司名称和相应分公司代码 @param:<upCode_eq:公司代码> */ | |
| 59 | - $get('/business/all', {upCode_eq: businessCode}, function(array){ | |
| 60 | - | |
| 61 | - // 遍历array | |
| 62 | - $.each(array, function(i,d){ | |
| 63 | - | |
| 64 | - options += '<option value="'+d.businessCode+'">'+d.businessName+'</option>'; | |
| 65 | - | |
| 66 | - // 填充分公司下拉框options | |
| 67 | - $('#brancheCompanySelect').html(options); | |
| 68 | - | |
| 69 | - }); | |
| 70 | - }); | |
| 71 | - } | |
| 72 | - } | |
| 73 | - | |
| 74 | 17 | /** page : 当前页;initPag : */ |
| 75 | 18 | var page = 0,initPag; |
| 76 | 19 | |
| 77 | 20 | // 选择框 |
| 78 | 21 | var icheckOptions = {checkboxClass: 'icheckbox_flat-blue',increaseArea: '20%'}; |
| 79 | 22 | |
| 23 | + $('#destroy').val(0); | |
| 24 | + | |
| 80 | 25 | /** 表格数据分页加载 @param:<null:搜索参数;true:是否重新分页> */ |
| 81 | - loadTableDate(null,true); | |
| 26 | + loadTableDate({'destroy_eq':0},true); | |
| 82 | 27 | |
| 83 | 28 | /** 重置按钮事件 */ |
| 84 | 29 | $('tr.filter .filter-cancel').on('click',function() { |
| ... | ... | @@ -161,8 +106,6 @@ |
| 161 | 106 | // 异步请求获取表格数据 |
| 162 | 107 | $.get('/line',params,function(result){ |
| 163 | 108 | |
| 164 | - debugger; | |
| 165 | - | |
| 166 | 109 | // 添加序号 |
| 167 | 110 | result.content.page = page; |
| 168 | 111 | |
| ... | ... | @@ -258,6 +201,64 @@ |
| 258 | 201 | }); |
| 259 | 202 | } |
| 260 | 203 | |
| 204 | + /** 填充公司下拉框选择值 */ | |
| 205 | + $get('/business/all', {upCode_eq: '77'}, function(array){ | |
| 206 | + | |
| 207 | + // 公司下拉options属性值 | |
| 208 | + var options = '<option value="">请选择...</option>'; | |
| 209 | + | |
| 210 | + // 遍历array | |
| 211 | + $.each(array, function(i,d){ | |
| 212 | + | |
| 213 | + options += '<option value="'+d.businessCode+'">'+d.businessName+'</option>'; | |
| 214 | + | |
| 215 | + }); | |
| 216 | + | |
| 217 | + // 填充公司下拉框options | |
| 218 | + $('#companySelect').html(options) | |
| 219 | + | |
| 220 | + /** 闵行没下属公司,这里暂时注释公司值改变事件 */ | |
| 221 | + //$('#companySelect').html(options).on('change', setbrancheCompanySelectOptions); | |
| 222 | + | |
| 223 | + }); | |
| 224 | + | |
| 225 | + /** 填充分公司下拉框。--- 闵行没下属公司,这里暂时注释*/ | |
| 226 | + /* setbrancheCompanySelectOptions();*/ | |
| 227 | + | |
| 228 | + /** 填充分公司下拉框选择值 */ | |
| 229 | + function setbrancheCompanySelectOptions(){ | |
| 230 | + | |
| 231 | + // 获取公司下拉框选择值 | |
| 232 | + var businessCode = $('#companySelect').val(); | |
| 233 | + | |
| 234 | + // 分公司下拉框options属性值 | |
| 235 | + var options = '<option value="">请选择...</option>'; | |
| 236 | + | |
| 237 | + // 如果公司选择为空则分公司为空 ; 否则查询出所属公司下的分公司名称和相应分公司代码 | |
| 238 | + if(businessCode == null || businessCode ==''){ | |
| 239 | + | |
| 240 | + // 填充分公司下拉框options | |
| 241 | + $('#brancheCompanySelect').html(options); | |
| 242 | + | |
| 243 | + } else { | |
| 244 | + | |
| 245 | + /** 查询出所属公司下的分公司名称和相应分公司代码 @param:<upCode_eq:公司代码> */ | |
| 246 | + $get('/business/all', {upCode_eq: businessCode}, function(array){ | |
| 247 | + | |
| 248 | + // 遍历array | |
| 249 | + $.each(array, function(i,d){ | |
| 250 | + | |
| 251 | + options += '<option value="'+d.businessCode+'">'+d.businessName+'</option>'; | |
| 252 | + | |
| 253 | + // 填充分公司下拉框options | |
| 254 | + $('#brancheCompanySelect').html(options); | |
| 255 | + | |
| 256 | + }); | |
| 257 | + }); | |
| 258 | + } | |
| 259 | + } | |
| 260 | + | |
| 261 | + | |
| 261 | 262 | /** 生成行单,这里暂时只做了单选生成。 */ |
| 262 | 263 | $('#datatable_ajax_tools #createUsingSingle').on('click', function() { |
| 263 | 264 | ... | ... |
src/main/resources/static/pages/base/line/list.html
| ... | ... | @@ -110,7 +110,7 @@ |
| 110 | 110 | </td> |
| 111 | 111 | <td> |
| 112 | 112 | <!-- 这里没使用字典表,暂时写在页面上 --> |
| 113 | - <select class="form-control form-filter " name="destroy_eq"> | |
| 113 | + <select class="form-control form-filter " id='destroy' name="destroy_eq"> | |
| 114 | 114 | <option value="">请选择...</option> |
| 115 | 115 | <option value="0">运营</option> |
| 116 | 116 | <option value="1">撤销</option> |
| ... | ... | @@ -291,4 +291,5 @@ |
| 291 | 291 | </tr> |
| 292 | 292 | {{/if}} |
| 293 | 293 | </script> |
| 294 | -<script src="/pages/base/line/js/line-list-table.js"></script> | |
| 295 | 294 | \ No newline at end of file |
| 295 | +<script src="/pages/base/line/js/line-list-table.js"></script> | |
| 296 | +<!-- <a href="/pages/base/stationroute/list.html?no={{obj.id}}" class="btn default blue-stripe btn-sm" data-pjax> 查看 </a> --> | |
| 296 | 297 | \ No newline at end of file | ... | ... |
src/main/resources/static/pages/base/stationroute/css/bmap_base.css
src/main/resources/static/pages/base/stationroute/css/img/back160.png
0 → 100644
3.28 KB
src/main/resources/static/pages/base/stationroute/edit.html
| ... | ... | @@ -443,6 +443,8 @@ $('#edit_station_mobal').on('editSelectMobal_show', function(e, map_,ajaxd,stati |
| 443 | 443 | // 弹出添加成功提示消息 |
| 444 | 444 | layer.msg('修改成功...'); |
| 445 | 445 | |
| 446 | + /** 通知更新缓存区 */ | |
| 447 | + $.post('http://192.168.168.171:8800/transport_server/basic/refresh',function(rs){console.log(rs)}) | |
| 446 | 448 | |
| 447 | 449 | }else { |
| 448 | 450 | ... | ... |
src/main/resources/static/pages/base/stationroute/js/stationroute-list-function.js
| ... | ... | @@ -650,6 +650,8 @@ var PublicFunctions = function () { |
| 650 | 650 | // 中心点坐标字符串 |
| 651 | 651 | var bJwpointsStr = resultdata[s].bJwpoints; |
| 652 | 652 | |
| 653 | + var stationName = resultdata[s].stationName; | |
| 654 | + | |
| 653 | 655 | // 起个中心点坐标字符串 |
| 654 | 656 | var bJwpointsArray = bJwpointsStr.split(' '); |
| 655 | 657 | |
| ... | ... | @@ -657,7 +659,7 @@ var PublicFunctions = function () { |
| 657 | 659 | var point_center = new BMap.Point(bJwpointsArray[0],bJwpointsArray[1]); |
| 658 | 660 | |
| 659 | 661 | /** 在地图上画点 @param:<point_center:中心坐标点> */ |
| 660 | - WorldsBMap.drawingUpStationPoint(point_center); | |
| 662 | + WorldsBMap.drawingUpStationPoint(point_center,stationName,s+1); | |
| 661 | 663 | |
| 662 | 664 | } |
| 663 | 665 | ... | ... |
src/main/resources/static/pages/base/stationroute/js/stationroute-list-map.js
| ... | ... | @@ -684,11 +684,26 @@ var WorldsBMap = function () { |
| 684 | 684 | }, |
| 685 | 685 | |
| 686 | 686 | /** 在地图上画点 @param:<point_center:中心坐标点> */ |
| 687 | - drawingUpStationPoint : function(point_center) { | |
| 687 | + drawingUpStationPoint : function(point_center,stationName,s) { | |
| 688 | 688 | |
| 689 | 689 | // 自定义标注物图片 |
| 690 | - var icon_target = new BMap.Icon('/pages/base/stationroute/css/img/cz.png',new BMap.Size(20, 20)); | |
| 691 | - | |
| 690 | + var icon_target = new BMap.Icon('/pages/base/stationroute/css/img/gjzd.png',new BMap.Size(10, 10)); | |
| 691 | + | |
| 692 | + var html2 = '<div style="position: absolute; margin: 0pt; padding: 0pt; width: 160px; height: 26px; left: -10px; top: -35px; overflow: hidden;">' | |
| 693 | + + '<img class="rm3_image" style="border:none;left:0px; top:0px; position:absolute;" src="/pages/base/stationroute/css/img/back160.png">' | |
| 694 | + + '</div>' | |
| 695 | + + '<label class=" BMapLabel" unselectable="on" style="position: absolute; -moz-user-select: none; display: inline; cursor: inherit; border: 0px none; padding: 2px 1px 1px; white-space: nowrap; font: 12px arial,simsun; z-index: 80; color: rgb(255, 102, 0); left: 15px; top: -35px;"><span style="float: left; color: #fdfdfd; margin-left: -22px; font-size: 6px;">'+ s+'</span>'+ stationName+'</label>'; | |
| 696 | + | |
| 697 | + | |
| 698 | + var myRichMarker1 = new BMapLib.RichMarker(html2, point_center,{ | |
| 699 | + "anchor" : new BMap.Size(-10,8), | |
| 700 | + "enableDragging" : true}); | |
| 701 | + | |
| 702 | + | |
| 703 | + myRichMarker1.disableDragging(); | |
| 704 | + mapBValue.addOverlay(myRichMarker1); | |
| 705 | + | |
| 706 | + | |
| 692 | 707 | // 创建标注物 |
| 693 | 708 | marker = new BMap.Marker(point_center,{icon : icon_target}); |
| 694 | 709 | ... | ... |