POST
|
Jeff, You cannot selectively add only one layer from your map service. You have to add the entire map service. If you add the map service as a AGSDynamicMapServiceLayer, you can set it's visibleLayers property to only display the layer you want. Hope this helps.
... View more
06-16-2010
09:14 AM
|
0
|
0
|
860
|
POST
|
Thanks for the feedback. There is provision in the SDK to rotate the GPS symbol based the direction the device is travelling. As soon as the direction info is available, the SDK uses the image named "GPSDisplayHeading.png" in your application. This image should be such that, without any rotation, it points up. Then the image is appropriately rotated based on direction. (Caveat : the device needs to be travelling at some rate of speed for the direction info to be available). Although this is not what you asked for - to rotate the symbol based on the compass direction ( and not the travelling direction as I described). _ Divesh
... View more
05-26-2010
04:55 PM
|
0
|
0
|
229
|
POST
|
Thanks for reporting this. We'll look into it. _ Divesh
... View more
05-17-2010
10:02 AM
|
0
|
0
|
358
|
POST
|
The labels are bigger because AGSDynamicMapServiceLayer uses the phone's resolution (163 DPI) to export maps. Other APIs that run on computers (not phones) use a smaller resolution - 96 is standard for most computer screens. Hence the difference. The difference stems from the fact that labels are defined in point sizes (ex: Arial 10pt, etc). The graphic gurus of the world have decided that 72 points = 1 inch. But what exactly is 1 inch on a screen? Well, that depends on the screen's DPI (dots-per-inch). At 96 DPI, 1 inch = 96 dots. At 163 DPI, 1 Inch = 163 dots. So if you defined your label as 72 pt Arial, it would take up 96 dots on a map exported at 96 DPI, but it would take up 163 dots on map of 163 DPI. 163 is bigger than 96 (obviously) and so the labels are bigger. If you like, you can change the dpi property of AGSDynamicMapServiceLayer to 96 and then the labels will have the familiar proportion you're expecting. _ Divesh
... View more
05-13-2010
04:01 PM
|
0
|
0
|
864
|
POST
|
I'm assuming you're getting the location from the GPS. Bear in mind that the location reported by the GPS sensor is only approximate, depending upon the signal strength. Can you reduce the problem down to what pair of WGS84 coordinates are being reported by the GPS, and what are the corresponding result coordinates in Greek Grid? If you could share your code/project/service that might help. _ Divesh
... View more
05-13-2010
09:15 AM
|
0
|
0
|
338
|
POST
|
Are the labels really "labels" in your map document, or are they annotations? Also, can you zoom in closer on the browser map to see how the symbols scale? The map's scale, dimensions, and aspect ratio on the phone are quite different from the browser (looking at your screenshots). Maybe that's why your'e seeing the difference. Is your service acessible? Can I hit it? _ Divesh
... View more
05-12-2010
11:35 AM
|
0
|
0
|
864
|
POST
|
A couple of global functions which you can use AGSGeometryGeographicToWebMercator
AGSGeometryWebMercatorToGeographic For some reason, the API ref is currently not picking up these global functions. We'll try to get that resolved. _ Divesh
... View more
05-10-2010
09:31 AM
|
0
|
0
|
406
|
POST
|
It is concievable that you can write your own custom layer that uses a local cache. You would be responsible for getting the cache on the device, and then implementing the logic to retrieve a particular tile taking into consideration the cache's tiling scheme. Doable, but can be tricky We haven't thoroughly exercised the workflow of creating custom tiled layers at this time. But you can try subclassing the AGSTiledLayer if you're feeling adventurous, . Here's how it would work (in theory) : Sub-classes must provide implementation for the spatialReference , fullEnvelope , initialEnvelope, and units properties declared by AGSLayer, and the tileInfo property declared by AGSTiledLayer. They must also provide implementation for the tileForLevel:row:column: and tileForLevelAsync:row:column: methods and notify the tileDelegate when appropriate. It is also the responsibility of sub-classes to update the loaded property and notify the delegate when appropriate.
... View more
05-07-2010
03:27 PM
|
0
|
0
|
851
|
POST
|
The SDK does not currently support working in offline mode. For all practical purposes, network connectivity is required to work with GIS services. The map control does try to make efficient use of the network, but it relies on having access to the GIS services at any given point. However, this is very valuable feedback and we will take it into consideration going forward. Are there any special circumstances under which your application may need to work in a disconnected environment, or is just due to unavailable/choppy network connection? _ Divesh
... View more
05-05-2010
07:36 AM
|
0
|
0
|
851
|
POST
|
Sorry to hear you're having problems installing the beta. Having the previous version installed shouldn't pose any problems, the new install should overwrite the files. However, it'll be great if you could uninstall the previous version and let us know if that was causing the problem. The uninstall script is located at ~/Library/Application Support/AGSiPhoneSDK _ Divesh
... View more
05-05-2010
07:24 AM
|
0
|
0
|
424
|
POST
|
That's a good suggestion. Thank you for the feedback. At this time we are still testing and assessing our SDK on the iPad, and as such do not have any support for it. We will look into adding the necessary templates/samples/docs once we finalize support for it. _ Divesh
... View more
05-04-2010
03:55 PM
|
0
|
0
|
191
|
POST
|
The easier way to define the symbol is to use the methods and properties on the symbol. However, if you still want to use json, you will need to employ the proper json syntax. The syntax is available in the REST API documentation on your ArcGIS Server 10 Services Directory. _ Divesh
... View more
05-04-2010
02:08 PM
|
0
|
0
|
243
|
POST
|
Unfortunately, you've run into a bug. 😞 Thanks for reporting it. We'll have it straightened out. _ Divesh
... View more
05-03-2010
09:48 AM
|
0
|
0
|
341
|
POST
|
If you don't want to use an ArcGIS project template, but instead want to use the ArcGIS SDK in a standard iPhone project template or an existing project , the above link I provided contains information on which project settings to modify. See the Using iPhone Application Project Templates section. _ Divesh
... View more
04-30-2010
01:45 PM
|
0
|
0
|
279
|
POST
|
We are putting together more samples for the SDK, Geoprocessing included. We will make them available in very soon. _ Divesh
... View more
04-28-2010
10:31 PM
|
0
|
0
|
400
|
Title | Kudos | Posted |
---|---|---|
1 | 05-10-2024 02:32 PM | |
1 | 07-10-2023 11:12 AM | |
1 | 06-15-2023 09:59 AM | |
1 | 06-15-2023 09:55 AM | |
1 | 05-26-2023 11:38 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|