|
POST
|
@roessera here are some guidelines to help verify what's going on when a proxy doesn't seem to be working: - Make sure you have the latest version of the ArcGIS proxy. - Make sure that the Server URL properties are configured properly. - If you are using tokens, follow the directions for the appropriate proxy (.jsp, ashx or php) for allowing tokens. - Check the Proxy's web server log files. You may have to turn on full logging first. And, don't forget to disable full logging after you are done testing. If the proxy can't connect to ArcGIS Server you should be able to see an error in the web server log. - As a last resort, run an HTTP protocol analyzer on the proxy server, for example WireShark. This will let you see and analyze the inbound and outbound HTTP connections. -Andy
... View more
05-04-2012
07:36 AM
|
0
|
0
|
5594
|
|
POST
|
In addition to what has been posted above, this is an FYI with background info for others looking to implement pinch gestures with the Android browser and JavaScript. At this time, support for multi-touch is not consistent on the Android browser across various phones and Android OS versions. It is, however, available on many of the latest phones using Android v3+. Note that jQuery and Sencha, just to mention a few, face the similar problems in supporting this. So, for now, Dojo mobile best practices are to disable scaling in the browser via the viewport metatag. You can test that pinch sitll works on a particular phone by simply removing the meta tag and re-testing your app: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/> Also, if you haven't already seen it here's a "find nearby" example of implementing Dojo mobile with the ArcGIS API for Javascript. Addt'l References: http://code.google.com/p/android/issues/detail?id=11909 http://www.sitepen.com/blog/2011/12/07/touching-and-gesturing-on-iphone-android-and-more/ -Andy
... View more
05-03-2012
02:44 PM
|
0
|
0
|
2957
|
|
POST
|
Sorry for the delay, I am checking on this and hope to get more details on when it will be fixed. -Andy
... View more
05-03-2012
08:20 AM
|
0
|
0
|
2828
|
|
POST
|
@iwaitu make sure your SDK is installed properly. Check in Eclipse to make sure there are no errors in your project. For example, you may be missing one or several of the helper libraries: [INDENT]Could not find class 'org.codehaus.jackson.JsonFactory'[/INDENT] You may need to uninstall and re-install the ArcGIS for Android SDK. -Andy
... View more
05-02-2012
12:59 PM
|
0
|
0
|
1183
|
|
POST
|
@Taryon, did you try waiting until after the map load event? I don't see it listed in your post below. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#event:load -Andy
... View more
04-09-2012
07:00 AM
|
0
|
0
|
655
|
|
POST
|
@mjgarcia did you try running your snippet after the kml loads?
dojo.connect(kml, 'onLoad', function() {
dojo.style(dojo.byId('loading'), 'display', 'none');
// Add your snippet here
}); -Andy
... View more
04-04-2012
08:10 AM
|
0
|
0
|
2132
|
|
POST
|
@saibotehs, one way to do this if you have complex attributes is to set up a SharedObject. When the new view becomes active you can then grab the attributes from the SharedObject. The advantage of this pattern is it gives you a central location to manage all your application attributes. There's an example of this and other best practices built into this demo app: http://www.arcgis.com/home/item.html?id=f30c1e7747db417cae341fdeca2eb77e. All code is included. -Andy
... View more
04-04-2012
07:50 AM
|
0
|
0
|
879
|
|
POST
|
For anyone interested, attached is an ActionScript Class that let's you build the circle polygon in the client when using WGS84 or Web Mercator base maps. When you call the createMercatorBasedCircle() method you pass the radius value taken from the GPS. This eliminates the server round trip to a geometry service. to For a demonstration of how it works, the code is taken from this project: http://www.arcgis.com/home/item.html?id=5f3bf5febd9e4a1d8cf92b15c75b9e41 -Andy
... View more
04-03-2012
02:44 PM
|
0
|
0
|
1295
|
|
POST
|
This turned out to be a bug in SDK v1.0.1. It was entered as #NIM078920. -Andy
... View more
03-09-2012
11:15 AM
|
0
|
0
|
2828
|
|
POST
|
It must be how the tiled cache was created. However, best practice is to limit the zoom-in level to the last base map level that has visible data. You can either do that when you create the service using scale dependent rendering. Or, if you want to control this on the client app, I outline a coding pattern in this forum post that should help you out: http://forums.arcgis.com/threads/51447-MapView-Zoom-in-Problem -Andy
... View more
03-05-2012
01:09 PM
|
0
|
0
|
877
|
|
POST
|
@Stephen The behavior you are seeing is most likely due to the application life cycle. I'm guessing that the Callout is being drawn before the pan animation has completed. As a test, if you set the centerAt() boolean animated property to false the behavior should go away: map.centerAt(esri102100, false); The best practice for setting this up is to implement an OnPanListener() and then show the Callout once the pan event is complete. The GeoRSSFeeds SDK sample shows a basic implementation of a map listener. I'm also opening a ticket to take a closer look at it...just in case. -Andy
... View more
03-02-2012
02:34 PM
|
0
|
0
|
2828
|
|
POST
|
@simra Did you check out the SelectFeatures sample that comes with the SDK install? I think that covers the basics of what you are trying to do. You have to specify a new ArcGISFeatureLayer(), add that to the map, and then finally set up a MapOnTouchListener(). The pattern for doing this is demonstrated in that sample. -Andy
... View more
03-02-2012
01:09 PM
|
0
|
0
|
2146
|
|
POST
|
@skaviksk the general coding pattern goes something like this: 1) Listen for map extent change via onZoomListener() 2) after the zoom event completes, get the current scale via MapView.getScale() 3) compare current scale against your pre-defined minimum scale value 4) If zoom level is below your minimum then bounce the map back up to the minimum using zoomToScale() -Andy
... View more
03-01-2012
10:02 AM
|
0
|
0
|
565
|
|
POST
|
@gurquizo I'm not exactly sure what you are asking, but to draw a blue point on the map you'd use a pattern similar to this: Graphic graphic = new Graphic(mapView.toMapPoint(new Point(e.getX(), e.getY())),new SimpleMarkerSymbol(Color.BLUE,25,STYLE.CIRCLE)); graphicsLayer.addGraphic(graphic); -Andy
... View more
02-29-2012
09:27 AM
|
0
|
0
|
1057
|
|
POST
|
@vikrant retry your request, then check the web server log files for the full error message. If you have the ability, also try opening a web browser on the web server and running the same application using the localhost domain name; e.g. http://localhost/myapp.html. For security reasons, many production web servers are configured to not return the full error message to a remote client. However, if you run it locally you may be able to see the error. -Andy Esri Developer Network
... View more
02-21-2012
08:10 AM
|
0
|
0
|
779
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 3 weeks ago | |
| 1 | 04-10-2026 08:29 AM | |
| 1 | 03-26-2026 03:12 PM | |
| 2 | 02-21-2026 10:23 AM | |
| 2 | 08-01-2025 06:20 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|