Skip to content

Commit 3b21c4d

Browse files
committed
【fix】fix 有道classic 示例缺陷。
1 parent 02747ba commit 3b21c4d

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

examples/classic/controler_drawGeometry.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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,

examples/classic/controler_geolocate.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
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;
@@ -21,7 +21,7 @@
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>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy