POST
|
I believe this issue is related to using it on a computer that also has a touchscreen. Using the touchscreen only (and not the mouse) does not produce this behavior. -- James
... View more
03-06-2014
12:19 PM
|
0
|
0
|
171
|
POST
|
Hi, I am seeing double map click events when using Chrome. This also results in receiving a click event after panning the map. It appears the extraneous mouse event is being sent from _mouseClick -> _fire somewhere in the map source. The "correct" mouse event is being fired from _fireClickEvent -> _fire. You can see the click after pan behavior with this sample: http://developers.arcgis.com/en/javascript/samples/map_infowindow/ Thanks. -- James
... View more
03-06-2014
11:55 AM
|
0
|
1
|
516
|
POST
|
Hi, I've noticed that when using touch on the map control and zooming, the map will continue to zoom after you let go, presumably to the next LOD level. Is it possible to turn this off? Or is it possible to re-implement touch zoom to stay at the extent you are at when you let go? Related, is it possible to give the map an extent that doesn't correspond to an integer LOD and have it stay there? Or will it always fit to an integer LOD? Thanks
... View more
07-10-2012
08:00 AM
|
0
|
7
|
2541
|
POST
|
I believe I had caused this with a typo, 'css-transform' vs 'css-transforms' Things seem to be ok now.
... View more
07-10-2012
07:02 AM
|
0
|
0
|
202
|
POST
|
Hi, I've noticed that while I zoom, I see black lines between the tiles when using (at least) one of the ArcGIS online Tiled Map Layers. I've seen it in both Chrome and Firefox. Thanks. -- James
... View more
07-09-2012
03:19 PM
|
0
|
3
|
595
|
POST
|
Hi, I have a specialized app where I need to re-implement pan/zoom. I've tried using the onMouseDrag event for pan, but I can get nowhere near the performance using map.setExtent() or map.centerAndZoom() as the built-in mouse pan function. Does anyone have code that gives good performance doing this? Thanks.
... View more
07-06-2012
04:18 PM
|
0
|
0
|
304
|
POST
|
James, I'm not sure what level of performance you expect (or require for your application) but your results (40-80 milliseconds) look very good - running your test code I found the human eye (mine at least) is barely able to keep up with display changes at those speeds. You might find you get slightly better performance with the ESRI Imagery basemap due to differences in the way different basemap sources are cached. As you add in additional layers of data you will find those display times begin to slow down - so the previous advice regarding spatial indexes, etc is still relevant. you seem to be working in 3D which uses a WGS84 geographic coordinate system - for best performance you should consider reprojecting any data you wish to display in Explorer (in 3D) into that coordinate system. Regards Mike Hi Mike, So I think the issue here (and what is different with ArcExplorer than say, 3DAnalyst), is that ZoomTo is a "synchronous" update operation. What I mean by that is that ZoomTo() doesn't return until it has redrawn the scene. What is also interesting is that movements using the mouse clearly don't have this slowdown, so I assume that the internal mouse navigation is using another path for position updating. -- James
... View more
07-01-2010
08:52 AM
|
0
|
0
|
353
|
POST
|
Mike, I've attached a source file for a button add-in that will navigate to 20 different places and output the time the ZoomTo() method takes to finish. Here are the results I get (times in ms): 0 time: 93.75 1 time: 78.125 2 time: 46.875 3 time: 46.875 4 time: 46.875 5 time: 62.5 6 time: 62.5 7 time: 62.5 8 time: 46.875 9 time: 93.75 10 time: 62.5 11 time: 78.125 12 time: 78.125 13 time: 78.125 14 time: 78.125 15 time: 62.5 16 time: 78.125 17 time: 62.5 18 time: 93.75 19 time: 78.125 Here's the code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using ESRI.ArcGISExplorer;
using ESRI.ArcGISExplorer.Application;
using ESRI.ArcGISExplorer.Mapping;
using ESRI.ArcGISExplorer.Geometry;
using ESRI.ArcGISExplorer.Data;
using ESRI.ArcGISExplorer.Threading;
namespace ZoomPerformanceTest
{
public class Button : ESRI.ArcGISExplorer.Application.Button
{
public override void OnClick()
{
Application.ActiveMapDisplay.AnimateMovement = false;
for (int i = 0; i < 20; i++)
{
Viewpoint vp = new Viewpoint(
new ESRI.ArcGISExplorer.Geometry.Point(i, 0, 85000),
new ESRI.ArcGISExplorer.Geometry.Point(i, 0, 0));
DateTime d1 = DateTime.Now;
Application.ActiveMapDisplay.ZoomTo(vp);
System.Diagnostics.Debug.WriteLine(i + " time: " + (DateTime.Now - d1).TotalMilliseconds);
}
}
}
}
Thanks. -- James Hi Mike, Currently the only data that is loaded is the Bing Maps basemap. I'll try and do some more tests and post some results to see if I can figure out what the problem might be. Also, is (or will there be) a way to capture the mouse, other than using a Windows Mouse Hook? Thanks.
... View more
06-25-2010
11:07 AM
|
0
|
0
|
353
|
POST
|
Hi Mike, Currently the only data that is loaded is the Bing Maps basemap. I'll try and do some more tests and post some results to see if I can figure out what the problem might be. Also, is (or will there be) a way to capture the mouse, other than using a Windows Mouse Hook? Thanks.
... View more
06-25-2010
10:57 AM
|
0
|
0
|
353
|
POST
|
Hi, I'm developing an application that uses an external touch sensor (does not go through Windows Mouse event queue) to navigate inside Explorer. However, it seems as though the Application.ActiveMapDisplay.ZoomTo(Viewpoint) function executes very slowly, sometimes taking > 50-75ms. Is there a better way to programmatically move the globe? or is there some way to speed this up? Thanks.
... View more
06-24-2010
12:45 PM
|
0
|
6
|
570
|
POST
|
Hi, I have a mouse hook with ArcGIS explorer and I'm trying to dynamically update a Graphic's Polyline geometry on a mouse drag event. However, it seems that the Graphic display does not update until the mouse is released. Is this a limitation of ArcGIS Explorer? Or do I need to tell the Graphic to update its display? Thanks.
... View more
05-17-2010
03:46 PM
|
0
|
2
|
468
|
POST
|
Hi, I'm trying to find the E2API in build 1200 for doing custom OpenGL drawing. Was it removed in this version? Thanks.
... View more
05-14-2010
01:50 PM
|
0
|
1
|
418
|
POST
|
I've tried various iterations with SaveAs() and it still produces the same COM Exception.
... View more
05-12-2010
08:28 AM
|
0
|
0
|
157
|
POST
|
Hi, I'm trying to save all the layers from a Globe Document out to layer files. I have code like this: IEnumLayer baseLayers = globe.get_GlobeLayers(null, true, true, true); for (ILayer lyr = baseLayers.Next(); lyr != null; lyr = baseLayers.Next()) { .... ILayerFile lf = new LayerFileClass(); lf.New(somePathName); lf.ReplaceContents(lyr); lf.Save(); lf.Close(); } However, lf.Save() always fails with a COM Exception on every layer. This is at 9.3.1. What am I doing wrong? Thanks.
... View more
05-05-2010
04:59 PM
|
0
|
2
|
441
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|