|
POST
|
No, unfortunately there is not. It's a great idea though. You should submit it to the ideas portal at http://ideas.arcgis.com/
... View more
08-31-2010
06:15 PM
|
0
|
0
|
577
|
|
POST
|
Thanks for your feedback. While we are considering the "offline" use-case very seriously, the API as it stands today relies on having a connection to the GIS server. Could you please elaborate on the type of offline capabilities you might require. Is it simply browsing or map, or does it go beyond that? _ Divesh
... View more
07-07-2010
11:19 PM
|
0
|
0
|
1486
|
|
POST
|
Are your services tiled or dynamic? Can you share the URL of the service? At this point, you need to have atleast one tiled service layer in the map. You cannot add just a dynamic service layer. We hope to resolve this in a future update, but this is why you might be seeing a blank map with your service alone. _ Divesh
... View more
07-05-2010
11:24 PM
|
0
|
0
|
611
|
|
POST
|
Here's how you could zoom to a scale level -
int levelToZoomTo = 4;
AGSLOD* lod = [tiledLayer.mapServiceInfo.tileInfo.lods objectAtIndex:levelToZoomTo];
float zoomFactor = lod.resolution/self.mapView.resolution;
AGSMutableEnvelope *newEnv =
[AGSMutableEnvelope envelopeWithXmin:self.mapView.envelope.xmin
ymin:self.mapView.envelope.ymin
xmax:self.mapView.envelope.xmax
ymax:self.mapView.envelope.ymax
spatialReference:self.mapView.spatialReference];
[newEnv expandByFactor:zoomFactor];
[self.mapView zoomToEnvelope:newEnv animated:YES];
... View more
07-01-2010
01:14 PM
|
0
|
0
|
1536
|
|
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
|
1517
|
|
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
|
444
|
|
POST
|
Thanks for reporting this. We'll look into it. _ Divesh
... View more
05-17-2010
10:02 AM
|
0
|
0
|
650
|
|
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
|
1647
|
|
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
|
613
|
|
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
|
1647
|
|
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
|
696
|
|
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
|
1475
|
|
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
|
1475
|
|
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
|
792
|
|
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
|
343
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | 10-01-2024 12:36 PM | |
| 1 | 05-10-2024 02:32 PM | |
| 1 | 07-10-2023 11:12 AM | |
| 1 | 06-15-2023 09:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|