sauegr01,
So to confirm:
You have one map view with multiple TPKs and you are unable to display more than one TPK at once?
This is on Runtime 100.1?
Not sure if this is what Bill is looking for, but I am looking for a way to show multiple offline tpk files in the same view. I want to be able to load my tablet with multiple map files and have them all display at one time. Right now, I can only show one map at a time and the user has to select which map they want to see.
Thanks.
bmyers5000,
Can you be a little more descriptive on what you mean by multiple maps? Do you mean multiple maps in the same app or in the same view?
Thanks,
Alexander
Are multiple maps supported in the current version (100.1.0)? 100.1.0
Can you post any errors that logcat is showing?
Shelley,
We tried updating the SDK and it still doesn't work. We are using two separate activities that host the same map vew fragment. When we launch the first map view it works ok. We switch activities and second map view is working as well, but when we switch back to the first activity map it freezes. That is the primary error we see. Sometimes the second map will work ok, but when we switch back to the first one, it will freeze. Is there another factor we are missing.
David Astle, GIS Analyst
Southern Cross<http://southerncrossinc.com/index.html> | O: 770-326-6476 | M: 470-539-2139
3175 Corners North Ct. Peachtree Corners, GA 30071
Trusted Partner of Utilities Everywhere Since 1946
Thank you for the reply, is there any documentation on how to add a second map layer to an existing map layer?
Hi David,
Yes, the current release of ArcGIS Runtime SDK for Android (10.2.8) supports multiple MapViews in one app, or within the same layout if you want. I think this has been true for a number of releases, but I couldn't say for sure myself exactly what release this changed at.
Regards,
Shelly
Has the issue of the multiple map views been resolved with the latest release ? If so where can I find concise documentation on it.
David A.
GIS Analyst
Southern Cross Inc.
We do not support multiple MapViews with this release of the SDK. This is a limitation of our current implementation and there is no workaround unfortunately. We are working to resolve this in the next release.
What's the proper way to recycle/destroy/free up resources for an ArcGIS Map?
MapView map; //******* //******** @Override protected void onDestroy() { super.onDestroy(); map.recycle(); } @Override protected void onPause() { super.onPause(); map.pause(); } @Override protected void onResume() { super.onResume(); map.unpause(); }
What about when stepping through, are all of the objects still counted in the GraphicsLayer?I don't mean to ask basic questions, but I haven't experienced this and I have three such layers at a time.
Yes, I've tried invalidate and postInvalidate.
Have you tried invalidating the map upon resume to see if the redraw happens?
Bumping this last question. What's the proper way to recycle/destroy/free up resources for an ArcGIS Map? I'm getting lots of weird side effects, even when working with one map - such as when I close my application, then restart it, graphics will no longer be visible on the graphics layer (this problem even exists when there is only one map). In order for the graphics to become visible again, I must close the application, then 'Force Stop' my application and re-open. The graphics will now be visible again.This perhaps seems like a problem of resources no getting cleaned up? But how should we do so?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.