<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>位置信息服务平台</title>
        
<style type="text/css">
.dingzhi_yiji_wrap{width:520px; margin:0 auto; margin-top:20px; position:absolute; z-index:1000; margin-left:80px;}
.dingzhi_yiji_search_input{padding-left:10px; width:290px; height: 33px;
  padding-top: 10px; float:left; background:#fff; border:1px solid #aaacab;}
.dingzhi_yiji_main{overflow:hidden;}
.dingzhi_button_shangchuan{display:block; float:left; width:110px; height:45px; line-height:45px; font-size:14px; color:#ffffff; text-align:center; background:#3087ff; margin-right:1px; border:none}
.dingzhi_button_shangchuan:hover{background:#3fa3ff;}
.loading{text-align:center;font-size:14px;}
.loading img{margin-bottom:20px;}
.shuju_jieguo{position: absolute; width: 250px; height: 100%; display: block; background: #fff; z-index: 2000; top: 0px; right: 0px; border: 1px solid #ccc; overflow: auto;}
.shuju_jieguo h3{font-size:14px; height:30px; line-height:30px; margin:10px; margin-bottom:0px;}
#progress_{font-size:12px;  padding:10px; display:block; padding-top:0px;}
</style>
<style type="text/css">
		body, html,#map {width: 100%;height: 100%;overflow: hidden;margin:0;font-family:"微软雅黑";}
</style>
        
        <script type="text/javascript"
			src="<%=path%>/gpsonline/js/jquery-1.8.3.js"></script>
		<script type="text/javascript"
			src="<%=path%>/gpsonline/js/ajaxfileupload.js"></script>
		<script type="text/javascript"
			src="<%=path%>/gpsonline/js/json2.js"></script>
		<script type="text/javascript">
   
    function ajaxFileUpload(markerId)
    {
        	$("#loading").show();
        	alert(parent.marID);
            $.ajaxFileUpload
            (
                {
                    url:'../../../upload/fileUploadAction_imageUpload.action?elementIds='+markerId,//用于文件上传的服务器端请求地址
                    secureuri:false,//一般设置为false
                    fileElementId:'file',//文件上传空间的id属性  <input type="file" id="file" name="file" />
                    dataType:"JSON",//返回值类型 一般设置为json
                    success: function (data,status)  //服务器成功响应处理函数
                    {

                		$("#loading").hide();
                     	data=data.substring(0,data.length-2);
                     	data = JSON.parse(data);
                     	
                        if(data.flag==true){
                        	alert(data.msg);
                            
                        }else{
                            alert(data.msg);
                        }
                     	
                    },
                    error: function (data, status, e)//服务器响应失败处理函数
                    {
                        alert(e);
                        $("#loading").hide();
                    }
                }
            )
            return false;
    }
   
    </script>
    </head>
    <body>
    <div class="dingzhi_yiji_wrap">
		
		<img src="" width="" height=""/>
	</div>
  

    </body>
</html>