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
|
637
|
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
|
273
|
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
|
637
|
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
|
311
|
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
|
672
|
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
|
672
|
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
|
309
|
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
|
153
|
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
|
197
|
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
|
276
|
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
|
215
|
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
|
307
|
POST
|
Most often, you would place graphics (AGSGraphic objects) in a graphics layer (AGSGraphicsLayer) that was added to the map. Graphics can have attributes that would be shown in the callout when a user taps on a graphic. _ Divesh
... View more
04-28-2010
10:24 PM
|
0
|
0
|
263
|
POST
|
The calloutDidClickAccessoryButton is invoked by the framework when the user taps on the button in the callout. This is an indication that the user wants to see more details than available in the callout (which is space constrained). Why do you want to invoke that method? You would typically only react to it being invoked. _ Divesh
... View more
04-28-2010
09:23 AM
|
0
|
0
|
263
|
POST
|
You're missing a call to init() after allocating the callout. AGSCallout *callout = [[AGSCallout alloc] init]; Also, instead of creating a new callout, you can retrieve the map's callout through AGSMapView::callout _ Divesh
... View more
04-27-2010
08:56 AM
|
0
|
0
|
192
|
Title | Kudos | Posted |
---|---|---|
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 | |
1 | 04-25-2023 08:23 AM |
Online Status |
Offline
|
Date Last Visited |
03-19-2024
07:59 PM
|