11< html >
22< head >
33 < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 "/>
4- < title > WMS图层</ title >
4+ < title data-i18n =" resources.title_wms " > WMS图层</ title >
55 < style type ="text/css ">
66 .editPane {
77 position : absolute;
1717< body style =" margin: 0;overflow: hidden;background: #fff;width: 100%;height:100%;position: absolute;top: 0; ">
1818< div class ='panel panel-primary editPane ' id ='editPane ' style ="z-index: 99999 ">
1919 < div class ='panel-heading '>
20- < h5 class ='panel-title text-center '> WMS图层</ h5 >
20+ < h5 class ='panel-title text-center ' data-i18n =" resources.text_wms " > WMS图层</ h5 >
2121 </ div >
2222 < div class ='panel-body ' id ='params '>
2323 < div class ='input-group '>
24- < span style ="margin-top: 15px " class ='input-group-addon '> 地图投影系</ span >
24+ < span style ="margin-top: 15px " class ='input-group-addon ' data-i18n =" resources.text_projection " > 地图投影系</ span >
2525 < select class ='form-control selectbtn ' id ='projectionSelect ' name ="projectionSelect "
2626 onchange ="switchProjection() ">
2727 < option value ="3857 "> 3857</ option >
@@ -30,7 +30,7 @@ <h5 class='panel-title text-center'>WMS图层</h5>
3030 </ div >
3131 < p >
3232 < div class ='input-group '>
33- < span style ="margin-top: 15px " class ='input-group-addon '> wms版本:</ span >
33+ < span style ="margin-top: 15px " class ='input-group-addon ' data-i18n =" resources.text_wmsVersion " > wms版本:</ span >
3434 < select class ='form-control selectbtn ' id ='versionSelect ' name ="versionSelect "
3535 onchange ="switchProjection() ">
3636 < option value ="1.3.0 "> 1.3.0</ option >
@@ -117,7 +117,7 @@ <h5 class='panel-title text-center'>WMS图层</h5>
117117 map . setCenter ( center , 1 ) ;
118118 lastLayer = wms ;
119119 mapDiv . focus ( ) ;
120- newHtml = "当前图层信息: <br>" + " 地图投影:" + wms . projection + "<br> wms当前版本: " + wms . params . VERSION ;
120+ newHtml = resources . text_currentInfo + " <br>" + resources . text_mapProjection + wms . projection + "<br>" + resources . text_currentVersion + wms . params . VERSION ;
121121
122122 }
123123
0 commit comments