#index
This commit is contained in:
parent
dcbbf932e6
commit
99f15d67e6
|
@ -131,18 +131,7 @@ $(function () {
|
|||
//-----------------结束-----------------------------------------------------------------------------
|
||||
|
||||
var viewport = map.getViewport();
|
||||
$(viewport).append('<div class="share" ><a href="vector/mode/" style="color: black"><button>矢量</button></a><a href="/" style="color: black"><button>影像</button></a><button id="c">厂区</button><button id="m">煤场</button></div>');
|
||||
|
||||
|
||||
$("#m").click(function () {
|
||||
var view = map.getView();
|
||||
view.setCenter([107.54264, 34.89438], 'EPSG:4326', 'EPSG:3857');
|
||||
});
|
||||
|
||||
$("#c").click(function () {
|
||||
var view = map.getView();
|
||||
view.setCenter([107.55375, 34.91028], 'EPSG:4326', 'EPSG:3857');
|
||||
});
|
||||
$(viewport).append('<div class="share" ><a href="vector/mode/" style="color: black"><button>矢量</button></a><a href="/" style="color: black"><button>影像</button></a></div>');
|
||||
$('.main-search input').focus(function (e) {
|
||||
e.preventDefault();
|
||||
var width = $(this).width();
|
||||
|
|
Loading…
Reference in New Issue