File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,14 @@ <h5 class='panel-title text-center' data-i18n="resources.text_drawGeometry"></h5
5252 modifyCtrl = new SuperMap . Control . ModifyFeature ( vecotrLayer ) ;
5353 selectCtrl = new SuperMap . Control . SelectFeature ( vecotrLayer , {
5454 onSelect : function ( feature ) {
55- console . log ( 'click' ) ;
56- console . log ( feature ) ;
55+ //选中要素操作
5756 } ,
5857 onUnselect : function ( feature ) {
59- console . log ( 'unselect' ) ;
60- console . log ( feature ) ;
58+ //未选中要素操作
6159 } ,
6260 callbacks : {
6361 dblclick : function ( feature ) {
64- console . log ( 'dblclick' ) ;
65- console . log ( feature ) ;
62+ //双击逻辑回调
6663 }
6764 } ,
6865 hover : false ,
Original file line number Diff line number Diff line change 55< html >
66< head >
77 < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 "/>
8- < title > Geolocate </ title >
8+ < title data-i18n =" resources.title_geolocateControl " > </ title >
99 < style type ="text/css ">
1010 .editPane {
1111 position : absolute;
2121
2222< div class ='panel panel-primary editPane ' id ='editPane ' style ="z-index: 99999 ">
2323 < div class ='panel-heading '>
24- < h5 class ='panel-title text-center '> Geolocate </ h5 >
24+ < h5 class ='panel-title text-center ' data-i18n =" resources.title_geolocateControl " > </ h5 >
2525 </ div >
2626 < div class ='panel-body ' id ='params '>
2727 < p > </ p >
You can’t perform that action at this time.
0 commit comments