gmaps.js 介绍
gmaps.js 允许您以简单的方式使用Google地图的潜力。没有更多的文档或大量的 代码 。
例子:
<!DOCTYPE html>
<html>
<head>
<title></title>
<script src="http://maps.google.com/maps/api/js"></script>
<script src=" gmaps.js "></script>
<style type="text/css">
#map {
width: 400px;
height: 400px;
}
</style>
</head>
<body>
<div id="map"></div>
<script>
var map = new GMaps({
el: '#map',
lat: -12.043333,
lng: -77.028333
});
</script>
</body>
</html>
网站地址 : https://hpneo.dev/gmaps/
GitHub: https://github.com/hpneo/gmaps
网站描述: 使用Google地图的Js库
gmaps.js官方网站
官方网站: https://hpneo.dev/gmaps/
如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did175045