zoukankan      html  css  js  c++  java
  • 附近车场KPI

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
    <title></title>
    <link rel="stylesheet" href="http://cache.amap.com/lbs/static/main1119.css"/>
    <style type="text/css">
    #panel {
    position: fixed;
    background-color: white;
    max-height: 90%;
    overflow-y: auto;
    top: 10px;
    right: 10px;
    280px;
    border-bottom: solid 1px silver;
    }
    </style>
    <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.3&key=a8c07f5e93700adc5452263d375f0033"></script>
    <script type="text/javascript" src="http://cache.amap.com/lbs/static/addToolbar.js"></script>
    </head>
    <body>
    <div id="container"></div>
    <div id="panel"></div>
    <script type="text/javascript">
    var map = new AMap.Map("container", {
    resizeEnable: true
    });
    AMap.service(["AMap.PlaceSearch"], function() {
    var placeSearch = new AMap.PlaceSearch({
    pageSize:20,
    type: '停车场',
    pageIndex: 1,
    map: map,
    panel: "panel"
    });

    var cpoint = [114.030639,22.669979];
    placeSearch.searchNearBy('', cpoint, 2000, function(status, result) {
    var a = result.poiList;
    var b="";
    for (var i = 0; i < a.pois.length; i++) {
    // alert(a.pois[i].location + "--" + a.pois[i].name);

    }
    });
    });
    </script>
    </body>
    </html>

  • 相关阅读:
    Model I/O
    How to create realistic .scn files?
    3ds Max 教程
    ELK Stack企业日志平台文档
    源码搭建Zabbix4.0.23LTS监控系统
    Ansible自动化运维应用实战
    网站架构部署
    MySQL数据库性能优化与监控实战(阶段四)
    MySQL数据库企业集群项目实战(阶段三)
    基于xtrabackup的主从同步
  • 原文地址:https://www.cnblogs.com/limitpjz/p/15389792.html
Copyright © 2011-2022 走看看