<!--miniprogram/pages/earth/earth.wxml-->
<view class="" hover-class="none" hover-stop-propagation="false" style="width: 100%; height: 100%;">
 <!-- <navigator open-type="switchTab" url="{{urlTab}}"><view>返回日志页</view></navigator> -->
	<!-- <view class="map_container"> -->
	<van-search value="{{ value }}" label="地址"  shape="round" background="#ffcf00" placeholder="请输入搜索关键词" bind:change="onChange">
	</van-search>
	<map 
        id="map" 
        longitude="{{longitude}}" 
        latitude=" {{latitude}}" 
        controls="{{controls}}" 
        bindcontroltap="controltap" 
        markers="{{markers}}" 
        bindmarkertap="markertap" 
        scale="20"  
        bindregionchange="bindregionchange" 
        enable-satellite="{{enableSsatellite}}" 
        scale="13" 
        show-location 
        style="width: 100%; height: 100%;"
    >
		<cover-view wx:if="{{isShow}}" class="map-search-list {{isShow ? '' : 'map-hide'}}">
			<cover-view bindtouchstart="bindSearch" wx:key="searchId" data-keywords="{{item.title}}" data-location="{{item.location}}" class="map-box" wx:for="{{tips}}">
				{{item.title}} {{item.address}}
			</cover-view>
		</cover-view>

		<cover-view class="cover">{{longitude}},{{latitude}}</cover-view>
	</map>

</view>
<van-popup show="{{ show }}" closeable close-icon="close" position="bottom" custom-style="height: 70%;" bind:close="onClose" bind:after-leave="leave">
	<van-cell-group>
		<van-field   type="textarea"  bind:blur="confirmdevcodes"
		placeholder="请输入定位设备编号用换行隔开" autosize border="{{ false }}" />
	</van-cell-group>
</van-popup>