<!--pages/o2oLocation_loc/o2oLocation_loc.wxml-->
<view class="map">
	<view class="seachbox">
		<view class="search_box">
			<icon class="iconfont icon-sousuo1"></icon>
			<input type="text" value="{{address_detail}}" placeholder="输入您所在的地点" bindinput="addressinpbtn" bindconfirm="searchconfirmbtn" />
		</view>
	</view>
	<map id="myMap" markers="{{markers}}" style="width:100%;height:960rpx;" longitude="{{address_longitude}}" latitude="{{address_latitude}}"
	 scale='{{scaleData}}' show-location="{{true}}" bindmarkertap="getmarkertap">
		<cover-view class="seachboxBottom" wx:if="{{suggestionshow}}">
			<block wx:for="{{suggestion}}" wx:key="index">
				<cover-view class="seachboxContent">
					<cover-view bindtap="backfill" id="{{index}}">{{item.title}}</cover-view>
				</cover-view>
			</block>
		</cover-view>
		<cover-view class="play" bindtap="addressplay">
			<cover-image class="img" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/tool-address.png" />
		</cover-view>
		<cover-view class='ten'>
			<cover-view class='ten_l' bindtap='addbtn'>+</cover-view>
			<cover-view class='ten_l' bindtap='minusbtn'>-</cover-view>
		</cover-view>
	</map>
	<view class="mapmessage">
		<view class="left">
			<view class="top">
				{{mapmessageData.title}}
			</view>
			<view class="bottom">
				地址:{{mapmessageData.message}}
			</view>
		</view>
		<view class="right">
			<view class="button" catchtap="buttonbtn">
				使用该地址
			</view>
		</view>
	</view>
</view>
