|
POST
|
Hi Having looked at what you are trying to achieve, I believe it will be really easy. The title of your post however suggests that you are wanting to write an application which resides in an internet browser. This forum is about writing native applications so I'll try to point you in the right direction. You have a few options, you can either write your own browser application using one of the web APIs available from ESRI: - Flex API https://developers.arcgis.com/en/flex/ for browsers which support Flash based applications - JavaScript API https://developers.arcgis.com/en/javascript/ for wider browser support - Silverlight API https://developers.arcgis.com/en/silverlight/ for a non Java alternative You could configure your own application via ArcGIS Online. Or you could consider one of the configurable viewer applications which allow you to build and deploy applications which in the background use the Flex or Silverlight. For a lot of simple applications this is a really quick way of getting an application up and running. Good luck with your web application! Mark
... View more
12-23-2013
03:50 AM
|
0
|
0
|
718
|
|
POST
|
I'll bring this to the attention of the military team who maintain the symbol dictionary so we can fix it. Apart from the console output, are you seeing any other issues when getting your buffered image from the symbol dictionary? I guess I'm also interested why you extract the buffered image from the symbol dictionary and add that as a picture marker graphic? This isn't the way we indended these graphics to be added to the map. Your method will work, but the message processor is how we had intended these items to be displayed: - The purpose of the getSymbolImage method on the symbol dictionary is to make a picker or a swatch - You will need to do your own labelling if you don't use the message processor - If you display lots of images which are the same you will use more system resources than if you had chosen to display via the message processor. We've put lots of effort into optimising the message processor for displaying 1000s of items. - You won't be able to display anything other than point symbols. Line and area symbol types will not work using your method. I think these are what you call your tactical graphics. If you need any help with using the messge processor then feel free to ask. We've got a message processor example in our sample application which you can take a look at. Mark
... View more
12-23-2013
01:47 AM
|
0
|
0
|
1322
|
|
POST
|
The jar files in the ArcGISRuntime are compiled against 6u45. This is how we can support Java 6 and Java 7. Our plan is to support Java 6 for one more version (which is due to be released early next year). After that the product will be compiled using Java 7 and we will support Java 8 (if it is released). Mark
... View more
12-18-2013
11:17 PM
|
0
|
0
|
1321
|
|
POST
|
Your tile package or basemap typically defines the projection or spatial reference used in your jMap. Web Mercator is very commonly used as this is a versatile projection which works well in most areas (but not at the poles). Feature layers (from ArcGIS Server or Online) in WGS84 for example will then be requested from the server in Web Mercator so they will effectly be re-projected for you. If you are working with graphics and say you have a WGS84 position then you will need to use the GeometryEngine class to project your point into the spatial reference of your map. Your code might look something like this: //a geometry in WGS84 Point wgs84Pt = new Point(55.95, -3.22); //get the spatial reference SpatialReference wgs84 = SpatialReference.create(SpatialReference.WKID_WGS84); //project the point using the GeometryEngine Point webMercatorPt = (Point) GeometryEngine.project(wgs84Pt, wgs84, map.getSpatialReference()); Does this help? Mark
... View more
12-11-2013
11:49 PM
|
0
|
0
|
700
|
|
POST
|
I've noted the concerns and we will look into this. Will let you know what we find. Thanks for the feedback Mark
... View more
12-10-2013
05:29 AM
|
0
|
0
|
1501
|
|
POST
|
Are you absolutely sure that your graphics card drivers are up to date or correct? For windows platforms DirectX rendering is most likely to be the best solution. We support both DirectX 9 and with the 10.2 release we also use DirectX 11 if it is available. The advantage of DirectX 11 (with WARP) is that it will work even if you remote desktop onto the machine. http://msdn.microsoft.com/en-us/library/windows/desktop/gg615082(v=vs.85).aspx dxdiag in my experience reliably tells you that the MS components are in place, but it still reports DX support even if the drivers are not correct. A more reliable way of testing support for DX and OpenGL is to use a tool like GLview from Realtech. http://www.realtech-vr.com/glview/ I really would expect you to be able to get the runtime working with Windows 7 and a NVidia graphics card with DirectX and even OpenGL. However if your graphics card drivers are not correct you will have problems. If updating your graphics card drivers is not an option, another consideration is to use one of the web maded APIs. Is running an application in a browser an option?
... View more
11-15-2013
12:55 AM
|
0
|
0
|
1723
|
|
POST
|
The 2 versions will work side by side... but you can't have the 2 Eclipse plugins in one install of Eclipse. Mark
... View more
11-14-2013
08:13 AM
|
0
|
0
|
1969
|
|
POST
|
Carlos, The message procesor is supposed to work one message at a time. It needs to be serialized so your position updates come through in the right order. Imagine the following messages coming across the wire: - Vehicle #1 at location A - Vehicle #2 at location B - Vehicle #1 at location C - vehicle #2 at location D The final position for vehicle #1 should be at C. Vehicle #2 should be at D If you put this through a thread pool your final vehicle positions might be wrong! However I'm not justifying poor performance 🙂 Under the covers after we have processed the message the core C++ code uses multiple threads to perform the actual rendering. The code dynamically decides on the number of threads to use depending on the processing capabilities of the host machine. So I guess I'm interested in if you are experiencing an issue with processing large numbers of messages on application startup? Are you looking to bulk process a large number of messages where you don't care about what order they are processed? This isn't somethine we support, but it could considered... Mark
... View more
11-14-2013
07:54 AM
|
0
|
0
|
2484
|
|
POST
|
Before you go down the Fiddler route can you try this code: ArcGISTiledMapServiceLayer tiledLayer = new ArcGISTiledMapServiceLayer("http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"); tiledLayer.addLayerInitializeCompleteListener(new LayerInitializeCompleteListener() { @Override public void layerInitializeComplete(LayerInitializeCompleteEvent e) { System.out.println(e.getLayer().getInitializationError()); // print out any layer init error } }); map.getLayers().add(tiledLayer); It might just give some more information. Mark
... View more
11-07-2013
01:56 AM
|
0
|
0
|
3293
|
|
POST
|
The error you are seeing above (Failed to create a shared context) is due to the fact that your graphics card drivers are not supporting a very high version of OpenGL. I bet you only have 1.1 support! DirectX is usually most reliable in Windows, however as Vijay suggested it was worth a try switching to OpenGL! The fact that you can see the esri logo when running in DirectX suggests to me that you don't have a rendering issue with DirectX mode. I'm thinking that your locked down environment is hurting you here. What I would suggest is creating a application which uses an online service like this: map = new JMap(); window.getContentPane().add(map); ArcGISTiledMapServiceLayer tiledLayer = new ArcGISTiledMapServiceLayer( "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"); map.getLayers().add(tiledLayer); You then need to configure Eclipse so you can capture the HTTP traffic in Fiddler. You need to set your JVM run options so you use this: -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888 Then watch if anything gets captured in Fiddler! One thing I am surprised about is that you couldn't run an application which used a local tiled package. This just uses basic file IO to read the the TPK file. This does not use the local server and hence does not rely on HTTP traffic. Mark
... View more
11-06-2013
10:47 PM
|
0
|
0
|
3293
|
|
POST
|
Oh we like a challenge 🙂 Okay some more questions. - What JDK/ JRE version are you using? - What platform are you running on? - Is it a real machine or a virtual one? - When you run your application via eclipse, what console output do you see. On my Windows machine I see the following for example: [INDENT]Java version : 1.7.0_40 (Oracle Corporation) amd64 Rendering engine : DirectX[/INDENT] - Have you ever managed to get runtime applications working on older releases? Mark
... View more
11-06-2013
07:29 AM
|
0
|
0
|
3293
|
|
POST
|
In order to download the 10.2 API you will need to register for a developers account. I'll let Eric clarify the EDN position. Mark
... View more
11-06-2013
02:55 AM
|
0
|
0
|
1969
|
|
POST
|
If you have really bad GPS signals which jump all over the place in an area which roads are very close together, then putting these points through a routing engine might result in a route which goes all over the place. However are your GPS tracks really this bad? One thing you could try it taking your jumping points and turning them into a Polyline geometry. What you can then do is use the GeometryEngine class to perform a simplify operation which would smooth out any blips. The GeometryEngine also allows you to find the nearest point along a nearby line. Take a look at the Java Doc: https://developers.arcgis.com/en/java/api-reference/ Does this help? Mark
... View more
11-05-2013
11:02 PM
|
0
|
0
|
960
|
|
POST
|
The fact that you can see the esri logo suggests that there isn't too much wrong. I'm wondering if there is a network / firewall issue here. Are you working in a locked down environment? How are you running the sample application. Via a Start menu or using java -jar? When you say you don't see anything in the console window is this the console you called java -jar, or is it the console window you can open up in the sample application? If there are really no clues, then I would encourage you to install the eclipse plugin and create a template application. Running it through eclipse should give you more clues as to what is happening. Another issue I've seen in locked down environments is when the firewall is using page forwarding. For example if you went to a web page and requested http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer it goes to another page first which displays the text "forwarding to..." and then your web page opens up. This kind of works for web browsers, but it's not so good for REST endpoints! If we make a REST call and the page returns "forwarding to..." it upsets the JSON parser. You would be able to see this kind of issue by using a tool like Fiddler and browsing to the REST endpoints. Another thing you could try is looking at the sample which uses just a local tiled package. In the sample go to Tiled Layers -> Local Tiled Layers and this should work as there is no network connection needed here. Let me now how you get on. Mark
... View more
11-05-2013
10:48 PM
|
0
|
0
|
3293
|
|
POST
|
I�??m pleased to announce that the 10.2 release of the ArcGIS Runtime SDK for Java is now available and for the first time it is available for download at our newly designed developers site. There is lots of new functionality, some of which has been created as a result of popular requests from this forum. For a full list of functionality, please look at our what�??s new section. Released as beta functionality in this release, we have an exciting suite of offline functionality which allows users to create applications that can take enterprise data into environments where there is no network connectivity to perform routing, geocoding, data viewing, and editing. Offline editing can then be synchronised back to enterprise datasets once a network connection is available again. For the first time, this functionality is available for all ArcGIS Runtime APIs including Android, iOS, Qt, OS X, .Net and of course Java SE!
... View more
11-05-2013
10:21 AM
|
0
|
7
|
3184
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | a week ago | |
| 1 | 08-13-2024 05:17 AM | |
| 1 | 07-10-2024 01:50 AM | |
| 1 | 04-22-2024 01:21 AM | |
| 1 | 04-18-2024 01:41 AM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|