|
POST
|
Few questions: How are you instantiating the Geodatabase object? Are you using more than one Geodatabase at a time?
... View more
07-27-2017
01:38 PM
|
0
|
0
|
1226
|
|
POST
|
package com.arcgis.apps.rotate
import android.content.Context
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.view.MotionEvent
import com.esri.arcgisruntime.mapping.ArcGISMap
import com.esri.arcgisruntime.mapping.Basemap
import com.esri.arcgisruntime.mapping.view.DefaultMapViewOnTouchListener
import com.esri.arcgisruntime.mapping.view.MapView
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
val map = ArcGISMap(Basemap.createDarkGrayCanvasVector())
val mapV = findViewById(R.id.mapView) as MapView
mapV.map = map
mapV.DisableRotation()
}
fun MapView.DisableRotation() {
this.onTouchListener = NoRotate(this.context, this)
}
private inner class NoRotate(context: Context, mapView: MapView) : DefaultMapViewOnTouchListener(context, mapView) {
override fun onRotate(event: MotionEvent, rotationAngle: Double): Boolean {
Log.e("NOHE", "ROTATED")
return true
}
override fun onLongPress(e: MotionEvent) {
Log.e("NOHE", "SANITY")
super.onLongPress(e)
}
}
}
This is a sample in kotlin showing how to disable map rotation. Hope this helps!
... View more
07-27-2017
10:43 AM
|
1
|
0
|
1296
|
|
POST
|
DexterMorgan54, I passed this along to our development team. One thing that was suggested to me by them was to override the DefaultMapTouchListener::OnRotation() method so it does not call the super() method. I have not had a chance to test this as of yet, but when I get some more time, I can test / write a extension function in Kotlin for this.
... View more
07-27-2017
10:04 AM
|
1
|
0
|
1296
|
|
POST
|
Hi Radhesh soni, Which version of the runtime are you using? In Runtime 100.1, the import for SpatialReferences look something like this: import com.esri.arcgisruntime.geometry.SpatialReferences Thanks, Alexander
... View more
07-27-2017
06:30 AM
|
0
|
2
|
1291
|
|
POST
|
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
... View more
07-27-2017
06:25 AM
|
0
|
4
|
1630
|
|
POST
|
Were you a beta user of Explorer? When did you create the markup? My assumption is that maybe something changed with the way we format markup between when you originally had that markup created on your device and when we released Explorer.
... View more
07-27-2017
06:22 AM
|
0
|
1
|
2274
|
|
POST
|
Can you send me your project so I can view on my end and see if I can reproduce?
... View more
07-27-2017
06:20 AM
|
0
|
3
|
1366
|
|
POST
|
Interesting... When I get more time to test, I will return to this issue.
... View more
07-26-2017
06:11 AM
|
0
|
0
|
1069
|
|
POST
|
Arielle Beaulieu, If you create a brand new markup layer and try to share that do you get the same error message? Thanks, Alexander
... View more
07-25-2017
05:45 PM
|
0
|
3
|
2274
|
|
POST
|
Did you call : serviceFeatureTableX.loadAsync() ? I believe the table may need to be loaded before you can query it (not 100% on that)
... View more
07-25-2017
01:47 PM
|
0
|
3
|
1069
|
|
POST
|
Do you know the model of the device and the operating system that you are using?
... View more
07-24-2017
01:29 PM
|
0
|
1
|
2274
|
|
POST
|
Do you get this error after clicking a certain share item or just the share button? i.e, are you getting this error when trying to share to ArcGIS Online or are you getting this error when trying to share via email?
... View more
07-24-2017
12:57 PM
|
0
|
7
|
2274
|
|
POST
|
Do you want the coordinates of the map where you click or are you interested in your physical GPS location coordinates?
... View more
07-24-2017
10:54 AM
|
1
|
0
|
1273
|
|
POST
|
From what I can tell, this looks to have yet to be implemented. I would encourage you to log an enhancement request with your local Esri distributor.
... View more
07-24-2017
10:52 AM
|
0
|
0
|
809
|
|
POST
|
If you are okay with me asking, there may be another solution for what you are attempting to do. Is there something you were hoping to do with the touch listener?
... View more
07-21-2017
07:03 AM
|
0
|
1
|
1161
|
| 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
|