POST
|
@JayantaPoddar The ArcGIS Maps SDK for Java is a deprecated product so if this is a new project I'd encourage you to not to use this. The Local Server product is also deprecated so again I'd discourage you from using this in a new solution. Can you explain a little more about the solution you are creating. Is this a desktop app or a server side component? This will help us to guide you to a more suitable technology for your solution.
... View more
03-11-2025
02:33 AM
|
0
|
0
|
451
|
POST
|
Can you describe a little more about what you are using these for? From the name of the files, I can see you have jar files for ArcIMS and MapObjects which are products I last used 20+ years ago and are no longer supported. If you tell us more about what these are used for, we can assist you with suggestions on migrating to a supported set of tooling.
... View more
01-03-2025
06:03 AM
|
0
|
1
|
539
|
POST
|
@marco_pereira_2024 Supporting Arm based Linux isn't currently part of the product, but for Java we have a public beta which does allow you to try this out. I have also written a couple of blog posts on the subject showing possible use-cases for the beta. You should however be aware that we are deprecating the Maps SDK for Java so whilst the beta would allow you to try out the API, longer term we will be proving support for Arm Linux using the Qt Maps SDK. I'd be very interested to hear more about what you are wanting to do using the Raspberry Pi. Does this help?
... View more
08-13-2024
05:17 AM
|
1
|
0
|
686
|
POST
|
@rod182211 can you add the code which shows how you are using the methods in that class. Can you also indicate where you are seeing the error? I suspect also I'm going to need the database file to reproduce this. Is there a way you can get it to me? I think you've been in email contact with me or Kerry previously.
... View more
07-12-2024
01:50 AM
|
0
|
1
|
1009
|
POST
|
@NancySuez Assuming you are writing a desktop JavaFX application (not a JavaScript web app), take a look at this sample application which listens to a setOnMouseClicked event and converts the screen coordinates to a WGS84 (lat / long) point. Key steps are: // click event to display the callout
mapView.setOnMouseClicked(e -> {
// check that the primary mouse button was clicked and user is not panning
if (e.getButton() == MouseButton.PRIMARY && e.isStillSincePress()) {
// create a point from where the user clicked
Point2D point = new Point2D(e.getX(), e.getY());
// create a map point from a point
Point mapPoint = mapView.screenToLocation(point);
// project user-tapped map point location
Point projectedPoint = (Point)GeometryEngine.project(mapPoint, SpatialReferences.getWgs84()); Does this help?
... View more
07-10-2024
01:50 AM
|
1
|
0
|
836
|
POST
|
I have raised this with the ArcGIS Enterprise Kubernetes team to explain the project difficulties you are experiencing with the offline workflows. They acknowledge this is a gap in functionality which they are considering for a future release. I would also suggest you reach out to customer services or your local distributor to report the issue. There is also the ArcGIS Enterprise Ideas board: https://community.esri.com/t5/arcgis-enterprise-ideas/idb-p/arcgis-enterprise-ideas
... View more
04-22-2024
01:21 AM
|
1
|
1
|
1400
|
POST
|
@padmalcom I've reached out to someone on the Enterprise Kubernetes team to find out more about this limitation you've found.
... View more
04-18-2024
01:41 AM
|
1
|
0
|
1439
|
POST
|
@padmalcom What you are trying to do here isn't possible I'm afraid; not in the Maps SDK alone. The offline map tasks which generates a mobile map package is for use with a web map which is published in ArcGIS Online or your own Enterprise environment. The creation of the mobile map package is a server side operation and there is no logic in the Maps SDK to perform this operation. The solution here might be to publish your vector tile data into a webmap and you can use that to request a smaller area using the offline workflows. I should also make you aware that the Maps SDK for Java is being deprecated this year so you may want to consider using one of the other Native Maps SDKs for a new project. Does that help?
... View more
04-16-2024
07:38 AM
|
0
|
1
|
1465
|
BLOG
|
@aeldib It looks like something has happened to the system requirements page for 200.2. When we initially released 200.2 Java 21 wasn't available and it was updated mid-release when I made the announcement above. We'll look into getting this corrected, but in the meantime I can confirm Java 21 is supported from version 200.2 of the Maps SDK. As user of the Maps SDK for Java I should also point out there is a plan to deprecate the product. This blog post explains this more. Hope that helps Mark
... View more
04-03-2024
03:50 AM
|
0
|
0
|
458
|
POST
|
I've added some code below which shows you how to check the cause of an error when loading a Portal or a PortalItem Portal portal = new Portal("https://www.arcgis.com/");
System.out.println("loading portal");
portal.loadAsync();
portal.addDoneLoadingListener(()-> {
//check status of portal loading
System.out.println("Portal load status " + portal.getLoadStatus());
if (portal.getLoadStatus() == LoadStatus.LOADED) {
// portal loaded okay so let's try the portal item
PortalItem portalItem = new PortalItem(portal, "92ad152b9da94dee89b9e387dfe21acd");
portalItem.loadAsync();
portalItem.addDoneLoadingListener(()-> {
// check portal item load status
System.out.println("portal item load status " + portalItem.getLoadStatus());
if (portalItem.getLoadStatus() == LoadStatus.LOADED) {
// make map from portal item and add to mapview it displays
ArcGISMap map = new ArcGISMap(portalItem);
mapView = new MapView();
mapView.setMap(map);
// add the map view to the stack pane
stackPane.getChildren().addAll(mapView);
} else {
System.out.println("portal item failed to load");
System.out.println(portalItem.getLoadError().getCause());
}
});
} else {
System.out.println("portal failed to load");
System.out.println(portal.getLoadError().getCause());
}
}); I'm not sure why you are specifically getting the error above, but you might get some clues from the code above. I would also not use Java 19, this isn't an LTS release and isn't supported. Ideally you should be using Java 21. You should also read this blog post which says that we are about to deprecate the Java SDK, so you should consider an alternative technology for new projects. Does this help?
... View more
03-19-2024
09:12 AM
|
0
|
0
|
953
|
POST
|
Can you confirm that you are using the Maps SDK for Java and if you are the version you are using. If this is the product you are using can you share some code so I can see what you are doing? It would also be good to understand the type of app you are writing. Is this a client side application or something server based?
... View more
02-28-2024
08:51 AM
|
0
|
0
|
802
|
POST
|
@TamerAssaf Thanks for the information, this helps me understand what you are trying to achieve. I'm going to move your post to the JavaScript API forum as you've posted in a forum for Native Maps SDK apps (which don't run in a browser). The functionality you are looking for will be triggered by our API, but the actual audible notification will likely be made by a 3rd party such as howler.js The forum I've moved this to is better suited for someone to guide you in JavaSctipt questions. @JuliePowell
... View more
01-17-2024
02:15 AM
|
0
|
0
|
900
|
POST
|
@Himanshu The Map package files (.mpkx) are just for users of ArcGIS Pro to share data. This format of data is not supported in any version of the ArcGIS Maps SDK. To share data from ArcGIS Pro to your Maps SDK app or FieldMaps etc you need to be exporting a mobile map package (.mmpk).
... View more
01-17-2024
02:05 AM
|
0
|
0
|
1765
|
POST
|
@Himanshu The file format you need to create from ArcGIS Pro is a Mobile Map Package - these are designed for Maps SDK apps. The mpkx file will not work. The publish buttons for these are next to each other: I exported a project I have from ArcGIS Pro 3.2 to a .mmpk file and confirmed I can open and view the data using 100.15.x and 200.3 releases. Does this help?
... View more
01-16-2024
07:25 AM
|
0
|
1
|
1777
|
POST
|
@Himanshu It is possible to create a mobile map package from ArcGIS Pro which you can display in a Maps SDK app. If you are starting a new project, I'd discourage using ArcMap as support for this is going away. This approach is one of many offline workflows. Before going too far down a particular route its worth stepping back and looking at what you are aiming for. If you share some information here I can help. Alternatively take a look at this page which talks above approaches for different offline workflows. Does this help?
... View more
01-15-2024
02:21 AM
|
0
|
0
|
1791
|
Title | Kudos | Posted |
---|---|---|
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 | |
1 | 12-05-2023 08:50 AM |
Online Status |
Offline
|
Date Last Visited |
03-12-2025
07:13 PM
|