@@ -251,7 +251,7 @@
return;
}
latlngSign = mapData.vehicleLocation.longitude;
- if(!latlngSign){
+ if(!latlngSign && first){
first = false;
t.map.setZoomAndCenter(15,startEnd.start);
t.vehicle.setPosition(null);
@@ -1075,7 +1075,9 @@ u[o]&&(delete u[o],c?delete n[l]:typeof n.removeAttribute!==i?n.removeAttribute(
$('#' + pageid).find('input[type="password"]:focus,input[type="text"]:focus,textarea:focus,.lrtextarea:focus').blur();
if (renlian.isreal) {// 真机调试下隐藏键盘
if(window.Keyboard){
- window.Keyboard.hide();
+ if(window.Keyboard.hide){
+ window.Keyboard.hide();
+ }
};