|
POST
|
Great news Emil Löfblom! It looks as though there is an existing enhancement request logged with ESRI for this issue. The defect is: ENH-000104889 - Add a method to set the maximum extent of the map to Android Runtime 100.0. I hope this helps!
... View more
05-10-2017
05:54 AM
|
0
|
4
|
2853
|
|
POST
|
I believe this may be what you are looking for: https://community.esri.com/docs/DOC-9971-how-to-get-coded-values-from-coded-value-domain-in-android-runtime-sdk-10000
... View more
05-09-2017
06:57 AM
|
0
|
2
|
1223
|
|
POST
|
Logging an enhancement on the ideas site should be fine.
... View more
05-09-2017
06:55 AM
|
0
|
0
|
2853
|
|
POST
|
Hi Emil Löfblom, This is more of a hack until it is ready, but what you could do is implement a GeoView| arcgis-android addViewpointChangedListener(ViewpointChangedListener listener) and when the viewpoint changes, check the extent of the mapView. If the extent is outside what you want, then add setViewpointGeometryAsync(Geometry boundingGeometry) MapView| arcgis-android to zoom back to the extent you want. It won't stop people from panning outside the map extent, but when they do, they will automatically be panned back to the extent you wish to keep them in. Thanks, Alexander
... View more
05-08-2017
06:04 AM
|
0
|
4
|
2853
|
|
POST
|
I could not find this either in the current SDK. I would encourage you to log an enhancement request with your local esri distributor asking for the setMaxExtent() method to be brought back to the MapView class. This will give you a public tracking number which can then be used to check on the status of the enhancement.
... View more
05-05-2017
08:02 AM
|
0
|
0
|
2853
|
|
IDEA
|
Thank you for filling out that information! I will try to review it a little later today
... View more
05-03-2017
09:24 AM
|
0
|
0
|
1213
|
|
POST
|
Hi mahshid fallah, As Shelly mentioned, you would need to either go with version 100 of the runtime or 10.2.x as integrating both libraries into the same project is not supported. If you are early on in the development of your app, I would encourage you to move to version 100 of the runtime and look forward to the runtime updates that should be coming up, hopefully soon. Thanks, Alexander
... View more
05-03-2017
08:31 AM
|
0
|
0
|
1873
|
|
POST
|
Hi wythe_hi, What is the crash statement or error message that you are getting? Can you be a little more explicit in what exactly you are doing? Are you finding the crash after certain method calls or something else? Do you find that it crashes with a certain map? Thanks, Alexander
... View more
05-03-2017
08:27 AM
|
0
|
1
|
735
|
|
IDEA
|
Hi Greg Gogul, I am interested in learning more about your use case. Can you please elaborate by answering some more of these questions: What is the industry?* What is the users workflow and use case? What is the problem feature X is trying to solve? What is the benefits or changes that would result from the enhancement? How critical is the enhancement to your organization? How do you believe this enhancement may benefit other organizations? Additionally, can you please give a scenario where you would find this beneficial to the line of work you do. If you would like, you can directly message me in GeoNet to further discuss.
... View more
05-03-2017
07:33 AM
|
0
|
0
|
1213
|
|
POST
|
Hey Winston McKenna, I believe that the reason that mmpks need to be loaded via iTunes rather than some other method for side loading is that with iOS, you are limited to side loading apps and data through iTunes. I believe this is an Apple security feature. Have you found another way using different apps to get data onto your device? I look forward to your response. Thanks, Alexander
... View more
05-02-2017
10:14 AM
|
1
|
0
|
1855
|
|
POST
|
Hi Josh Bartz, I did something like this to only view the roads layer and sublayers contained within that parent: public class MainActivity extends AppCompatActivity {
MapView mapView;
ArcGISMapImageLayer mMapImageLayer;
SublayerList mLayers;
ArcGISMap map;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// inflate MapView from layout
mapView = (MapView) findViewById(R.id.map);
// create a map with the Basemap Type topographic
ArcGISMap map = new ArcGISMap(Basemap.Type.TOPOGRAPHIC, 27.763528, -82.543717, 6);
// create a MapImageLayer with dynamically generated map images
mMapImageLayer = new ArcGISMapImageLayer("https://x-23.env.nm.gov/arcgis/rest/services/original/SWPA/MapServer");
mMapImageLayer.setOpacity(0.5f);
// add world cities layers as map operational layer
map.getOperationalLayers().add(mMapImageLayer);
// set the map to be displayed in this view
mapView.setMap(map);
map.loadAsync();
mMapImageLayer.loadAsync();
mMapImageLayer.addDoneLoadingListener(new Runnable() {
@Override
public void run() {
// get the layers from the map image layer
mLayers = mMapImageLayer.getSublayers();
//This is the line where the error occurs
for(ArcGISSublayer sub : mLayers) {
sub.setVisible(false);
}
mLayers.get(2).setVisible(true);
}
});
}
} I hope this helps! Thanks, Alexander
... View more
04-26-2017
07:00 AM
|
1
|
1
|
2833
|
|
POST
|
Hi 9erNumber16, Nothing jumped out at me from the documentation, but one suggestion (to get you rolling) would be to create a layer in your ArcGIS Online account using the tiling format and then to add that layer in your app. Hope this helps!
... View more
04-26-2017
06:55 AM
|
1
|
0
|
924
|
|
POST
|
Hey Philipp Conner, I noticed that the URL you were visiting was the HTTPS URL and not the HTTP URL. I tried using this URL: pjconner/fisheriesLandings (MapServer) Rather than the secured URL (HTTP versus HTTPS). I noticed that when I loaded this onto my phone in another app I was using, I would get Untrusted host warnings specifying that your certificate was invalid. You may want to investigate that with your IT department to ensure that your SSL Certificate is valid. Additionally, you may also want to install a web adapter so you are not visiting the port directly in your application. This is what my code used looks like: public class MainActivity extends AppCompatActivity {
MapView mapView;
ArcGISMapImageLayer mMapImageLayer;
SublayerList mLayers;
ArcGISMap map;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
// inflate MapView from layout
mapView = (MapView) findViewById(R.id.map);
// create a map with the Basemap Type topographic
ArcGISMap map = new ArcGISMap(Basemap.Type.TOPOGRAPHIC, 27.763528, -82.543717, 6);
// create a MapImageLayer with dynamically generated map images
mMapImageLayer = new ArcGISMapImageLayer("http://gis-server-02.usc.edu:6080/arcgis/rest/services/pjconner/fisheriesLandings/MapServer");
mMapImageLayer.setOpacity(0.5f);
// add world cities layers as map operational layer
map.getOperationalLayers().add(mMapImageLayer);
// set the map to be displayed in this view
mapView.setMap(map);
map.loadAsync();
mMapImageLayer.loadAsync();
mMapImageLayer.addDoneLoadingListener(new Runnable() {
@Override
public void run() {
// get the layers from the map image layer
mLayers = mMapImageLayer.getSublayers();
//This is the line where the error occurs
mLayers.get(0).setVisible(true);
}
});
}
}
... View more
04-26-2017
06:52 AM
|
2
|
2
|
1530
|
|
POST
|
Update operation was whatever you are doing to update the arrays. How many items are you trying to delete at once? What is the last call that you do before calling apply edits?
... View more
04-25-2017
06:05 AM
|
0
|
1
|
2116
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-15-2014 03:16 PM | |
| 1 | 01-06-2015 03:33 PM | |
| 1 | 12-02-2014 10:47 AM | |
| 1 | 07-15-2014 03:31 PM | |
| 1 | 09-23-2014 03:59 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|