现在WebGIS已经很火热了,仿三维的WebGIS也雨后春笋地冒出来,广州本土测绘企业http://www.o.cn/更是热得不得了,广州地铁里都是用了他们的地图,知名度飙升不少。 用MapXtheme进行开发,能否实现类似的功能呢? 答案是可以的,不过最基础的,还是要借助http://www.o.cn/的地图来实现。 在GIS领域里,有一个重要的概念“栅格”,意思就是把地图映射为矩阵,有点像
如果想要将一个选中的图元强调显示,用红色醒目的文字显示的话,我的思路如下: 1、不可能直接改原先的图元,所以必须要在一个新的图层上进行操作 2、新的图层因为不同的人用,会放置不同的东西,用固定图层不合适,得用动态生成的图层 碰到很多问题,如下: 1、原来的图层,默认设置了autolabel,所以可以直接显示,但是map
自从MapInfo把控件从MapX升级到MapXtreme之后,让人郁闷的是测距功能按钮在Win版本中消失了,只有Web版本中还保留着。所以下面的方法就是为了恢复这个必备的功能: 1)为MapTool控件增加一个ToolBarButton // // toolBarButtonDistance //
Codeusing System;using System.Drawing;using System.Collections;using System.Collections.Generic;using System.ComponentModel;using System.Windows.Forms;using System.Data;using System.IO;using System.L
首先在地图容器上添加滚轮事件:onmousewheel="mouseWheelZoomMap()"客户端脚本://鼠标在地图区的滚轮事件function mouseWheelZoomMap(){var zoomValue="";if(window.event.wheelDelta>0){zoomValue=0.5;}else{zoomValue=2;}var url = "MapContro
重要说明:本内容是由 Microsoft 机器翻译软件而不是人工译者来翻译的。机器翻译的文章并不总是完美的。它可能包含词汇或语法方面的错误,就像一个外国人在用您的语言说话时可能犯的错误。我们使用机器翻译的目的,是希望以您惯用的语言,提供更多的内容。因此,我们非常重视您的反馈意见。如果您对此主题下方的机器翻译文章有任何意见,欢迎您随时提出。。 英文原文:http://forums.asp.net/t
如何操作客户端上的 AJAX Timer 控件? 若要应付 Timer 控件客户端上的,我们需要使用这样的 $ Find 方法获取客户端组件的引用: var timer = $find("Timer1");然后,我们可以调用 set_interval 方法来设置计时器控件、 _stopTimer 方法停止它和 _startTimer 方法来启动它的间隔。这里是一个示例: <as
由于初始化函数失败,COM+ 激活失败。有关更多信息,请查看事件日志。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.Runtime.InteropServices.COMException: 由于初始化函数失败,COM+ 激活失败。有关更多信息,请查看事件日志。 源错误: 执行当前 W
1.InProc模式 1.1配置方法 <!--Use this setting to turn Session pooling on/off (true/false)--> <add key="MapInfo.Engine.Session.Pooled" value="false" /><!--Use this setting to save Session s
情况描述: 1.MAPXTREME 2005/2008 在IE8下出现“参数错误”问题 (command.js 出错),而火狐正常 只需要在页面中加入如下HTTP meta-tag: 只要IE8一读到这个标签,它就会自动启动IE7兼容模式,保证页面完整展示.还有一种方法是针对整个网站的,在IIS中加入如下描述符就可以有相同的效果,当然这么做范围更广. ? 或者
1.首先在页面初始化事件Page_Load(object sender, EventArgs e)中注册编写的类 protected void Page_Load(object sender, EventArgs e) { AjaxPro.Utility.RegisterTypeForAjax(typeof(fadataset)); //注册fadatas
在页面类中: public partial class spjk : System.Web.UI.Page{ public string yh; public string yhjb; protected void Page_Load(object sender, EventArgs e) { yh = Request.QueryString["yh"];
///日期格式:2009-12-30 13:50:12 function date_compare(start,end){if(start=="" || end=="") { alert("日期值输入不能为空!,请重新输入。"); return 0; } var a = start.split(" "); var b = a[0].split
引入: <link type="text/css" href="Jquery/jquery-ui-1.7.2.custom.css" rel="stylesheet" /> <script type="text/javascript" src="Jquery/jquery-1[1].3.2.min.js"></script> <script type="t
js中的代码: function analysis_map_search_result(){ var mapImage = document.getElementById("MapControl1_Image_Image"); var url = "MapController.ashx?Command=map_search&Width=" + mapImage.width +"
以下代码位于AppStateManager.cs文件中: // Restore the state public override void RestoreState() { string mapAlias = ParamsDictionary[ActiveMapAliasKey] as string; Map map =
//保存地图图片实体类 public class Save_Map_Picture { private byte[] photo;//公用缓冲区 public string SourFilePath;//源图片文件路径 public string ObjFilePath;//目标图片路径 public int FileToStr
DragInteraction.prototype.OnUp=function (e){ if (this.drag) {this.element.style.position='relative'; this.element.style.left = 0; this.element.style.top = 0; this.element.style.clip = 'rect('
现在所有基于Silverlight 2.0开发的应用程序都会被强制升级到 silverlight 3.0插件 ,这个在程序开发过程中本不可避免, 但在升级中却遇到了最让人头痛的问题,3.0中有些地方的改进并不能保证对2.0应用程序的完全兼容,这给基于商业应用的网站带来的无疑是一场灾难。唉,贸然使用非开源的新技术确实是需要付出代价的。。本文就此列出所有从2.0 到 3.0 版本升级过程中会对旧
This chapter contains release notes information and issues for Sun ZFS Storage 7320 appliance. 4.1 Latest Product InformationFor latest information about Sun ZFS Storage 7320 appliance, including the
摘要:使用WebBrowser控件获取网站的COOKIE有时候是不完整的,本文介绍WebBrowser控件获取网站的COOKIE不完整的原因,并提供一个利用WebBrowser获取完整COOKIE的示例供参考。 - 在WebBrowser下对网页进行操作其实是一件挺轻松的事情,他可以很方便实现自定义的网站访问习惯。而WebBrowser毕竟是对MS原生控件的封装,当我们使用C#下的We
4.1 accton:打开或关闭进程统计 作用:accton命令打开进程统计,如果不带任何参数,即关闭进程统计。 用法:accton [ -V | --version ] [ -h | --help ] [ filename ] 主要选项如下。 — -V,--version:显示ac版本并退
this.serviceController1 = new ServiceController(); this.serviceController1.ServiceName = "MSFtpsvc"; if (this.serviceController1.Status == ServiceControllerStatus.Paused) { try { this.serviceControlle...
this.serviceController1 = new ServiceController(); this.serviceController1.ServiceName = "MSFtpsvc"; if (this.serviceController1.Status == ServiceControllerStatus.Running){ try { this.serviceControlle...
this.serviceController1 = new ServiceController(); this.serviceController1.ServiceName = "MSFtpsvc"; if (this.serviceController1.Status == ServiceControllerStatus.Running) { try { this.serviceControl...
ServiceController mobServiceController4 = new System.ServiceProcess.ServiceController(); mobServiceController4.ServiceName = "MSFtpsvc"; if (mobServiceController4.Status == ServiceControllerStatus.Sto...
DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC");// Find unused ID value for new web site int siteID = 1; //得到现有的站点标识 foreach (DirectoryEntry entry in root.Children){ if (entry.Schema...
DirectoryEntry _RootFolder = new DirectoryEntry("IIS://localhost/W3SVC/1/ROOT"); DirectoryEntry _VirDir = _RootFolder.Children.Add(@"OKWeb", "IIsWebVirtualDir"); _VirDir.Properties["Path"].Value = @"C...
Compiler usageaspnet_compiler /v /<websitename> -p <source> <destination>aspnet_compiler /v /Compilation -p c:\WebSites\Compilation c:\WebSites\Compilation_Compiled
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号