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
52
52
modifyCtrl = new SuperMap . Control . ModifyFeature ( vecotrLayer ) ;
53
53
selectCtrl = new SuperMap . Control . SelectFeature ( vecotrLayer , {
54
54
onSelect : function ( feature ) {
55
- console . log ( 'click' ) ;
56
- console . log ( feature ) ;
55
+ //选中要素操作
57
56
} ,
58
57
onUnselect : function ( feature ) {
59
- console . log ( 'unselect' ) ;
60
- console . log ( feature ) ;
58
+ //未选中要素操作
61
59
} ,
62
60
callbacks : {
63
61
dblclick : function ( feature ) {
64
- console . log ( 'dblclick' ) ;
65
- console . log ( feature ) ;
62
+ //双击逻辑回调
66
63
}
67
64
} ,
68
65
hover : false ,
Original file line number Diff line number Diff line change 5
5
< html >
6
6
< head >
7
7
< meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 "/>
8
- < title > Geolocate </ title >
8
+ < title data-i18n =" resources.title_geolocateControl " > </ title >
9
9
< style type ="text/css ">
10
10
.editPane {
11
11
position : absolute;
21
21
22
22
< div class ='panel panel-primary editPane ' id ='editPane ' style ="z-index: 99999 ">
23
23
< 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 >
25
25
</ div >
26
26
< div class ='panel-body ' id ='params '>
27
27
< p > </ p >
You can’t perform that action at this time.
0 commit comments