【#文档大全网# 导语】以下是®文档大全网的小编为您整理的《创建一个离线地图HTML+JS完整代码》,欢迎阅读!
离线地图发布http://www.bigemap.com/offlinemaps/bmap/
创建第一个离线地图 HTML+JS完整代码:
<html> <head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<title>Hello World <style type="text/css">
body, html {width: 100%;height: 100%;margin:0;font-family:"微软雅黑";}
#allmap{width:100%;height:100%;}
<script type="text/javascript" src="js/apiv.2.0.js"> <body>
<div id="allmap">