Location:
Search - mapx d
Search list
Description: 文实验环境为 .NET 1.1,MAPX4.5。
为了让鹰眼图脱离主View单独浮动,决定使用CJLibrary控件来放置鹰眼图,该控件可由网址[2]下载。
鹰眼图上面有一个红色矩形框,表示主图的当前可视范围。要求点击鼠标左键来移动此框时能够引起主图的联动。
主图上有放大、缩小、移动三个工具按钮,要求主图变化的时候,能够引起鹰眼图矩形框的联动。
实现的易错点在CMapXEagleBar::OnMouseUpInMap函数, 鹰眼图中矩形框的移动要经过如下几步:
a) 得到矩形框四个顶点移动前的屏幕坐标,
b) 计算出中心点坐标,
c) 通过消息传入的参数得到移动后的中心点屏幕坐标
d) 计算前后中心点的偏移(以屏幕坐标作为参考)
e) 计算移动后的矩形框的四个顶点的屏幕坐标
f) 将四个顶点的屏幕坐标转换成地理坐标
g) 显示新的矩形框
Platform: |
Size: 65964 |
Author: xin1888@163.com |
Hits:
Description: Dijkstra算法求最短路径(C#版) using System
using System.Collections
using System.Text
namespace Greedy
{
class Marx
{
private int[] distance
private int row
private ArrayList ways = new ArrayList()
public Marx(int n,params int[] d)
{
this.row = n
distance = new int[row * row]
for (int i = 0 i < row * row i++)
{
this.distance[i] = d[i]
-Dijkstra algorithm for shortest path (C# Version) using System using System.Collections using System.Text namespace Greedy (class Marx (private int [] distance private int row private ArrayList ways = new ArrayList () public Marx (int n, params int [] d) (this.row = n distance = new int [row* row] for (int i = 0 i
Platform: |
Size: 209920 |
Author: wwf |
Hits:
Description: C#Mapx 地图系统 ——开发的电子地图系统
学生做的一个C# + Mapx,有一定的参考意义-C# Mapx map system- the development of electronic map system, students make a C Mapx, has a certain reference value
Platform: |
Size: 1332224 |
Author: gaotq |
Hits:
Description: vb+mapx示例代码(在代码运行是时,需装有MAPX5.0-vb+ mapx sample code (in the code is run when needed with MAPX5.0
Platform: |
Size: 427008 |
Author: 姜智勇 |
Hits:
Description: Computing time and two-dimensional histogram, Synthetic Aperture Radar (SAR) imaging simulation target, D-S evidence theory data fusion.
Platform: |
Size: 3072 |
Author: gansuigangken
|
Hits: