zoukankan      html  css  js  c++  java
  • 百度地图api 如何绘制热区?赵国亮来教教你

    百度地图提供了绘制覆盖物的功能,如何利用这些功能进行绘制呢?

    三六九物流

    上代码:

    /*addbylovelover====================================================================================================================================*/
    
    var arr_jihe = []; //定义数组 存面
    var arr_jihe2 = []; //定义数组 存坐标 
    
    var bzzt='stop'; //定义标注状态
    var bzcenterzt='stop'; //定义标注中心点状态
    
    
    function biaozhu_start(){
        document.getElementById("tishi").innerHTML='绘制轮廓线中。。。';
        bzzt='playing';
        arr_jihe.length=0;
        arr_jihe2.length=0;
    }
    
    
    function biaozhu_stop(){
        document.getElementById("tishi").innerHTML='完成绘制轮廓线。';
        bzzt='stop';
        arr_jihe.length=0;
        arr_jihe2.length=0;
    }
    
    
    function zhongxin_start(){
        
        document.getElementById("tishi").innerHTML='请点选目标建筑中心点...';
        bzcenterzt='playing';
    
        //先清空以前的图片地址
        document.getElementById("upload_pictures").value='';
    }
     
     
    function zhongxin_stop(){
        document.getElementById("tishi").innerHTML='完成中心点选取工作。';
        bzcenterzt='stop';
    }
    
    
    
    function tishi(){
        
        var cy_sheng = document.getElementsByName("cy_sheng")[0].selectedIndex;
        var shi_areaid = document.getElementsByName("shi_areaid")[0].selectedIndex;
     
    }
    
     
  • 相关阅读:
    go http client, http server
    如何使用Django 启动命令行及执行脚本
    golang cannot assign to
    非root用户执行程序---sudo的使用
    kafka 安装与配置
    golang kafka client
    Python处理Excel文档之openpyxl
    Windows下安装使用Pypcap
    xlutils模块
    Python xlrd、xlwt、xlutils修改Excel文件
  • 原文地址:https://www.cnblogs.com/zhaoguoliang/p/2817991.html
Copyright © 2011-2022 走看看