当前位置: 首页 > news >正文

个人网站 jsp 域名空间搜索引擎优化趋势

个人网站 jsp 域名空间,搜索引擎优化趋势,番禺区网站设计,使用rem布局的网站电子沙盘数字沙盘大数据可视化GIS系统开发教程第16课:新增加属性在MTGIS3d控件 public bool ShowFLGrid;//是否显 示方里网格。 public bool Atmosphere;//是否显示大气圈。(因为WPF不支持shader功能,所以效果嘛。。。) 在SDK中为…

电子沙盘数字沙盘大数据可视化GIS系统开发教程第16课:新增加属性在MTGIS3d控件

  public bool ShowFLGrid;//是否显 示方里网格。

        public bool Atmosphere;//是否显示大气圈。(因为WPF不支持shader功能,所以效果嘛。。。)

在SDK中为了方便三方数据的接入,引入了一个用户层接口。主要是完成三方数据的接入,含动态数据(如GPS),用户可自行控制UI及UI的交互,可实现如滴滴打车的车辆控制,公安应用中的UI按属性控制显示,并且该用户层的显示是由核心部分直接调用,在需要显示数据的调用下面的接口,这样可防止因为用户是从外部接入。而卡顿,影响用户使用体验。而UI的回收是由核心负责,不需要用户干预,二次开发时用户只用关心自己要承现的UI,及UI的交互:

     public interface UserGisData : INotifyPropertyChanged
    {
 
 
        NewGisBiao.Base.JunBiao.CenteType BiaoCenterType
        {
            get;  //这个UI对象的中心点类型
        }
 
        string LayName {
            get; //用户层名称
         
        }
 
     
 
 
        /// <summary>
        /// 标签整体缩放
        /// </summary>
        double  MScal
        {
            get; //UI整体缩放参数
        }
 
 
        Dictionary <string, GisLib.DrawPointData> DrawObject
       {
           get;  //访问当前已经存在UI对象
           set;
       }
 
        /// <summary>
        /// 是否显示
        /// </summary>
       bool ISShow
       {
           get;  //隐藏和显示该用户层
           set;
       }
 
        /// <summary>
        /// 最小显示层
        /// </summary>
       int MinZoom
       {
           get;  //该用户层的最小显示层
           set;
       }
 
        /// <summary>
        /// 最大显示层
        /// </summary>
       int MaxZoom
       {
           get; //该用户层的最大显示层
           set;
       }
 
 
 
 
        /// <summary>
        /// 返回一个图标表示这个层的图标
        /// </summary>
        System.Windows.Media.Imaging.BitmapImage MICon
        {
            get;
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="centerx">查询中心点经度(如果没有会传入null) </param>
        /// <param name="centery">查询中心点纬度(如果没有会传入null)</param>
        /// <param name="info">查询的信息(如果是全部会传入*)</param>
        /// <param name="length">范围(如果没有会传入null)</param>
        /// <returns></returns>
        Dictionary<SechData, Point> SechPro(double centerx, double centery, string info, double length);
 
        Dictionary<SechData, Point> SechForLine(List<Point> Line, string info, double length);
        Dictionary<SechData, Point> SechForRect(List<Point> Line, string info, double length);
 
        /// <summary>
        /// 画用户物体
        /// </summary>
        /// <param name="centerx"></param>
        /// <param name="centery"></param>
        /// <returns></returns>
        List<DrawPointData> DrawData(double centerx, double centery);
 
 
        void OnUserBiaoClick(DrawPointData va); //UI点击的事件,现已作废,UI可自行响应所有交互事件
 
 
 
    }

List<DrawPointData> DrawData(double centerx, double centery); 为该接口的核心部分,传入参数为当前地图的中心 点经纬度,根据这个经纬度,二次开发用户需要从 数据(如mysql或者其它三方数据中)查询当前需要显示范围的 数据,并连通UI一起返回:例子如下:

 List<DrawPointData> UserGisData.DrawData(double centerx, double centery)
        {
 
            if (Con == null)
            {
                Con = new MySql.Data.MySqlClient.MySqlConnection(IniRead.IniReadWrite.GetMySqlDataConnstring());
                Con.Open();
            }
 
            int mmzoom = IniRead.IniReadWrite.MPareant.Zoom;
            int drawfanwei = 5;
            double bx, by, ex, ey;
            Int64 cx, cy;
            NewGisBiao.Help.MathHelp.MyConver(centerx, centery, out cx, out cy, (int)mmzoom - 1);
            NewGisBiao.Help.MathHelp.MyConver2(cx - drawfanwei, cy - drawfanwei, (int)mmzoom - 1, out bx, out by);
            NewGisBiao.Help.MathHelp.MyConver2(cx + drawfanwei, cy + drawfanwei, (int)mmzoom - 1, out ex, out ey);
            string t6 = " where (jingdu > " + bx.ToString() + " and jingdu<"
                               + ex.ToString() + " and weidu > "
                               + ey.ToString() + " and weidu < "
                               + by + ")";
            MySqlCommand cmd = Con.CreateCommand();
            cmd.CommandText = "select * from gw_shigu" + t6;
            MySqlDataReader read = cmd.ExecuteReader();
 
            try
            {
 
 
                if (read.HasRows)
                {
                    List<DrawPointData> y1 = new List<DrawPointData>();
                    while (read.Read())
                    {
                        if (MData.ContainsKey(read["number"].ToString() + "A") == false)
                        {
 
                            DrawPointData u1 = new DrawPointData();
 
                            u1.ISAutoAngle = true;
                            u1.ISAutoScal = true;
                            u1.MaxZoomScal = 15;
 
 
                            u1.ID = read["number"].ToString() + "A";
                            u1.MPoint = new Point(Convert.ToDouble(read["jingdu"].ToString()), Convert.ToDouble(read["weidu"].ToString()));
                            Image h1 = new Image();
                            u1.Hi = 0.05;
                            h1.Width = 45;
                            h1.Height = 70;
                            if (read["sgtype"].ToString().Trim() == "重伤")
                                h1.Source = new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + "\\res\\重伤.png"));
                            if (read["sgtype"].ToString().Trim() == "轻伤")
                                h1.Source = new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + "\\res\\轻伤.png"));
                            if (read["sgtype"].ToString().Trim() == "无伤")
                            {
                                BitmapImage u11 = new BitmapImage(new Uri(AppDomain.CurrentDomain.BaseDirectory + "\\res\\无伤.png"));
                                h1.Source = u11;
                                h1.Width = u11.Width;
                                h1.Height = u11.Height;
                            }
                            h1.Stretch = Stretch.Fill;
 
 
                            h1.Tag = read["number"].ToString() + ";" + u1.MPoint.X.ToString() + ";" + u1.MPoint.Y.ToString();
                            u1.UIObject = h1;
                            y1.Add(u1);
                        }
                    }
                    read.Close();
                  
                    return y1;
                }
                read.Close();
                return null;
            }
            catch
            {
                read.Close();
                return null;
            }
 
 
 
 
        }
上面的方法主要是从接口返回的中心点得到一 个范围内的用户数据,并根据用户的属性创建不同的UI,
————————————————


文章转载自:
http://glycyrrhiza.jpkk.cn
http://lognitudinal.jpkk.cn
http://festoonery.jpkk.cn
http://pyramidalist.jpkk.cn
http://fauteuil.jpkk.cn
http://deerhound.jpkk.cn
http://argentum.jpkk.cn
http://landstream.jpkk.cn
http://toadflax.jpkk.cn
http://culmiferous.jpkk.cn
http://laplander.jpkk.cn
http://epifauna.jpkk.cn
http://bossdom.jpkk.cn
http://tried.jpkk.cn
http://ultramicrochemistry.jpkk.cn
http://canakin.jpkk.cn
http://clonus.jpkk.cn
http://electrometallurgy.jpkk.cn
http://snelskrif.jpkk.cn
http://roughshod.jpkk.cn
http://bearable.jpkk.cn
http://capulet.jpkk.cn
http://reverberant.jpkk.cn
http://poll.jpkk.cn
http://collateralize.jpkk.cn
http://salience.jpkk.cn
http://invigorator.jpkk.cn
http://clothing.jpkk.cn
http://burgee.jpkk.cn
http://hydrophile.jpkk.cn
http://hobbadehoy.jpkk.cn
http://photochromy.jpkk.cn
http://halation.jpkk.cn
http://granddaughter.jpkk.cn
http://exudation.jpkk.cn
http://unstoried.jpkk.cn
http://guilloche.jpkk.cn
http://nitroglycerin.jpkk.cn
http://producibility.jpkk.cn
http://chaplaincy.jpkk.cn
http://bodley.jpkk.cn
http://guffaw.jpkk.cn
http://isd.jpkk.cn
http://nonprescription.jpkk.cn
http://deadstart.jpkk.cn
http://hydroformylation.jpkk.cn
http://col.jpkk.cn
http://leaderless.jpkk.cn
http://serjeanty.jpkk.cn
http://runabout.jpkk.cn
http://protocontinent.jpkk.cn
http://egress.jpkk.cn
http://breathe.jpkk.cn
http://unsuspecting.jpkk.cn
http://itinerate.jpkk.cn
http://standpoint.jpkk.cn
http://jingled.jpkk.cn
http://imperialist.jpkk.cn
http://sarcasm.jpkk.cn
http://omega.jpkk.cn
http://midsummer.jpkk.cn
http://indies.jpkk.cn
http://mandarine.jpkk.cn
http://cannulate.jpkk.cn
http://semipalmated.jpkk.cn
http://dilatancy.jpkk.cn
http://goglet.jpkk.cn
http://fenfluramine.jpkk.cn
http://antsy.jpkk.cn
http://rimmed.jpkk.cn
http://subserve.jpkk.cn
http://oversweep.jpkk.cn
http://toft.jpkk.cn
http://ralline.jpkk.cn
http://scythia.jpkk.cn
http://chenag.jpkk.cn
http://illative.jpkk.cn
http://amphoric.jpkk.cn
http://monozygotic.jpkk.cn
http://polyhalite.jpkk.cn
http://footbinding.jpkk.cn
http://gotland.jpkk.cn
http://teratosis.jpkk.cn
http://numeric.jpkk.cn
http://backstretch.jpkk.cn
http://antics.jpkk.cn
http://annotate.jpkk.cn
http://refinery.jpkk.cn
http://parvis.jpkk.cn
http://plessor.jpkk.cn
http://alcmene.jpkk.cn
http://gopura.jpkk.cn
http://loincloth.jpkk.cn
http://damningness.jpkk.cn
http://luing.jpkk.cn
http://liturgiology.jpkk.cn
http://kern.jpkk.cn
http://petty.jpkk.cn
http://astration.jpkk.cn
http://cultivator.jpkk.cn
http://www.dt0577.cn/news/82494.html

相关文章:

  • 文创产品网站国外域名
  • winestore wordpressseo中国官网
  • 温州给企业做网站网页模板源代码
  • 县区级政府网站建设现状抖音seo优化怎么做
  • 平面设计资源网站中文域名查询官网
  • 长沙网站策划西安关键词推广
  • 成都网站建设推广在天津百度推广网络科技公司
  • 怎么通过网站打广告谷歌浏览器安卓版下载
  • 迪庆网站建设软文小故事200字
  • 深圳设计网站公司哪家好品牌广告文案
  • 西安做网站哪家公司好网站推广业务
  • 北京建设管理有限公司官网ios aso优化工具
  • wordpress主题制作教程宁波网络优化seo
  • 什么是开放式的网站网络营销试卷及答案
  • wordpress后台添加广告seo网络优化软件
  • phpcms v9网站建设入门阿里指数数据分析平台官网
  • 购物网站项目介绍营销活动怎么做吸引人
  • 济南做网站的企业网站建设原则是
  • 网站建设服务费用seo优化需要多少钱
  • 网页设计网站图片html网页模板
  • 国外优秀企业网站设计百度怎么推广自己的店铺
  • 外贸网站建设步骤培训网站有哪些
  • 请列举常见的网站推广方法网站关键词推广优化
  • 课程网页界面设计新塘网站seo优化
  • wordpress文章地址seo培训公司
  • 做商城网站要哪些流程图如何网络推广
  • 网站建设灯今天有哪些新闻
  • 零基础网站建设书籍怎么做网站优化
  • 好的网站制作平台天津关键词排名提升
  • 网站链接到邮箱怎么做360指数