POST
|
I just upgraded to ArcGIS 10.2.3 from 10.1.1 and most of my application works, but I am having trouble with zooming to a location. Before in 10.1.1 I would use mMapView.zoomToResolution(point, resInt); In 10.2.3, this same line of code causes the map to not display. I tried using the new map view options, but that does not seem to work either. MapOptions mapO = new MapOptions(MapType.TOTO, lat, long, zoom level) Does anyone know how to zoom to a specific level when entering or changing a map? Thank you for the help.
... View more
05-12-2014
12:31 PM
|
0
|
4
|
1567
|
POST
|
Hello all, I already have a solid Android mapping application using ArcGIS, but I want to add a heat map / heatmap to the map. Does anyone have somewhere to start off with this? Any advice is appreciated. Thanks.
... View more
04-10-2014
12:50 PM
|
0
|
0
|
2586
|
POST
|
I know this is an old topic, but does any one have any suggestions for getting starting with heat maps on Android? I already have a solid mapping application using ArcGIS, but I want to add heat maps to it. Thank you for any help.
... View more
04-10-2014
12:47 PM
|
0
|
0
|
225
|
POST
|
I also had this issue and adding this line allows you to zoom in closer than the lowest tile level of the map. mapview.setMinResolution(0.1) You can play with the number to adjust how close you can zoom. Setting it to 0 allows you to zoom forever it seems. Thanks for the help and I hope my addition also helps.
... View more
12-12-2013
12:33 PM
|
0
|
0
|
309
|
POST
|
I am also still looking for an answer to this issue, had anyone had any luck? Thanks
... View more
07-11-2013
12:14 PM
|
0
|
0
|
737
|
POST
|
Any update on this issue? I am still looking for a solution. Thanks.
... View more
07-08-2013
07:25 AM
|
0
|
0
|
860
|
POST
|
Hello, after creating a map file using ArcMap 10.1 I convert the files from the .mxd format to the .tpk format for offline viewing on an Android tablet. I use the python script described here: http://resources.arcgis.com/en/help/...0000017w000000 For the past few months this has worked perfectly for ArcMap basemap types 'Topographic' and 'Bing Maps Hybrid'. For the first time today I used 'Imagery', and during the conversion I got the following error in the command prompt: Corrupt JPEG data: premature end of data segment Invalid JPEG file structure: two SOI markers Has anyone else experienced this or can anyone explain to me what this means and how to correct it? Thank you in advance for your help.
... View more
04-24-2013
12:51 PM
|
0
|
0
|
2400
|
POST
|
Has anyone found a solution for this? I want to use 2 or more cached maps but the extent only allows me to view one of them.
... View more
02-21-2013
04:03 AM
|
0
|
0
|
456
|
POST
|
I know this thread is old, but has a solution been found to using multiple maps in offline mode? I am trying to add multiple maps to a MapView, but the screen only allows me to see the first map that is loaded. I can tell the second map loads, but I cannot scroll or navigate to the area of the second map. Any help is appreciated. Thanks.
... View more
01-28-2013
11:09 AM
|
0
|
0
|
860
|
POST
|
Solved the issue I was having. You need to return the parent activity before the end of onDragPointerMove. Hope this helps others in the future. return super.onDragPointerMove(from, to);
... View more
01-24-2013
11:45 AM
|
0
|
0
|
257
|
POST
|
Hello, I am trying to drag an image/graphic from its location to another location. I have added the onDragPointerMove method to my touch listener, but when I run the app I can no longer scroll around the map, it is constantly detecting a drag pointer. So when trying to scroll/move the map to a new location, it does not move correctly. I have tried returning false expecting it to skip the method, but it reacts the same way. Any help or suggestions are greatly appreciated. Below is the code I am using: public boolean onDragPointerMove(MotionEvent from, MotionEvent to) { //Checks to see if the drag is occuring on a graphic int[] ids = graphicsLayer.getGraphicIDs(from.getX(), from.getY(), 25); if (ids != null && ids.length > 0) { return true; } return false; }//end of onDragPointerMove Thanks.
... View more
01-21-2013
10:03 AM
|
0
|
1
|
829
|
POST
|
The new SDK changed the name of some libraries. Try creating a new ArcGIS Android project and navigate to libs->armeabi and copy the libruntimecore_java.so file. Paste the file in the same folder in your project. That worked for me, hope it helps.
... View more
01-17-2013
10:32 AM
|
0
|
0
|
938
|
POST
|
Found the answer within another thread. public void onLongPress(MotionEvent e){ Point geo = (Point) GeometryEngine.project(mapView.toMapPoint(e.getX(), e.getY()), mapView.getSpatialReference(), SpatialReference.create(4326)); double latitude = geo.getY(); double longitude = geo.getX(); Hope this helps others in the future.
... View more
01-16-2013
06:35 AM
|
0
|
0
|
281
|
POST
|
I am trying to get the longitude and latitude of a point I mark on my map with a long press. Currently on a long press I get an icon to display where I press on the map using a MapPoint, but I want to get and display the Geo location of the point. Below is some of the code I use for handling a long press: public void onLongPress(MotionEvent e){ Point p = mapView.toMapPoint(new Point(e.getX(), e.getY())); I than create a graphic and add it to the graphics layer. But using this information I need to convert the Point to a GeoPoint. Thank you in advance for any help.
... View more
01-16-2013
06:14 AM
|
0
|
1
|
837
|
POST
|
Thank you for the response. I used the following lines of code to convert the coordinates, which were placed in the OnStatusChanged method within onCreate(). Hope this helps others in the future. double y = 30.27546; double x = -55.05836; Point p = new Point(x, y); Point mapPoint = (Point) GeometryEngine.project(p, SpatialReference.create(4326), map.getSpatialReference()); Graphic graphic = new Graphic(p,new SimpleMarkerSymbol(Color.RED,25,STYLE.CIRCLE)); gLayer.addGraphic(graphic); map.addLayer(gLayer);
... View more
12-31-2012
06:46 AM
|
0
|
0
|
269
|
Title | Kudos | Posted |
---|---|---|
2 | 01-20-2016 07:06 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|