|
POST
|
That rings a bell. The extent of the images is set with the geographical coordinates found in the KML file but this extent is not the right one when your map is using projected coordinates. In fact, KML Groundoverlays don't support autoprojection to non geographic coordinates. It's identified as a possible future enhancement but not planned at this time. It's probably possible to project the extent by yourself (not tested and probably not that easy though): - go through the KML layer hierachy to find all ElementLayers - for each ElementLayer, loop on the elements - for each element, project the extent from Geographical coordinates to Mercator Sorry I should have thought about that sooner. Hi, Is the issue you mentioned in your post solved in the new runtime API 10.1.1 ? Thanks and Regards Humza
... View more
04-16-2013
08:59 PM
|
0
|
1
|
797
|
|
POST
|
I'm gonna start doing my project about tracking the vehicle and display on iPhone application. So I need an advise about GPS receiver or GPS device that is going to setup on the vehicle including it can be linked to ArcGIS map. Can you guys suggest me the model or any band I have no idea about GPS device. Ps.Sorry if I make a misunderstanding on the article because i am not a native speaker. Do you want to connect an external GPS with iPhone and then use that data with you arcgis ios app ?
... View more
03-20-2013
10:11 AM
|
0
|
0
|
368
|
|
POST
|
How can I display legend in a UIView somewhere like in a left panel, instead of popover view controller?. I am using code from Legend sample. You can use a UISplitviewcontroller and fill up the left view controller of the uisplitview with the legend data that you get from the legend sample.
... View more
03-20-2013
10:08 AM
|
0
|
0
|
409
|
|
POST
|
Could you provide a screenshot of the error as I have never encountered any error with the name "not registered with arcgis"? Thanks
... View more
03-10-2013
09:08 PM
|
0
|
0
|
306
|
|
POST
|
Hi, I am making a simple GIS app using 10.1.1 SDK and in the start of my code I just load a webmap and add 3 *empty* graphic layers and 1 sketch layer. However due to this addition in the beginning, the live bytes jump 15-20mb per layer added to the map in the beginning and then remain this way and dont come down if I remove these layers. I am running on a non retina iPad 3. I wonder that this might cause rejection of my app from apple store as the total live bytes if all layers are active at a single time come up to around 80mb. Is this an issue with the SDK as I am only adding AGSGraphic layers and not doing any complex computing. The code for addition looks like
- (void)didOpenWebMap: (AGSWebMap*)webMap intoMapView: (AGSMapView *)mapView
{
if(self.sketchLayer ==nil)
{
self.sketchLayer = [AGSSketchGraphicsLayer graphicsLayer];
self.sketchLayer.geometry = [[AGSMutablePolyline alloc] initWithSpatialReference:self.mapView.spatialReference];
[self.mapView addMapLayer:self.sketchLayer withName:@"Sketch layer"];
self.sketchLayer.visible=NO;
}
if(self.graphicsLayer ==nil)
{
self.graphicsLayer = [AGSGraphicsLayer graphicsLayer];
[self.mapView addMapLayer:self.graphicsLayer withName:@"Graphics Layer"];
}
if(self.graphicsLayerdraw == nil)
{
self.graphicsLayerdraw = [AGSGraphicsLayer graphicsLayer];
[self.mapView addMapLayer:self.graphicsLayerdraw withName:@"Graphics Layer Draw"];
}
}
If any one can comment on why this memory bloat is occurring just by adding these empty layers then I would be grateful Thanks Humza
... View more
03-07-2013
09:08 PM
|
0
|
1
|
693
|
|
POST
|
Hi, Does the esri portal explorer allows to add feature services or tiled map services on your current open base map on your custom app? becasue the arcgis app for ios only allows you to add webmaps with your layer hosted on the webmap. Thanks
... View more
03-06-2013
01:17 AM
|
0
|
1
|
767
|
|
POST
|
Hi all, I could not find any map scale bar in the reference of iOS api? Does 10.1.1 sdk doesnot have this capability to add a scale bar unlike SDK for WPF or SDK for java script? Thanks
... View more
03-04-2013
04:31 PM
|
0
|
4
|
4322
|
|
POST
|
I was able to reproduce the behavior you described. We're looking into the cause of the issue, but I fear there might not be an easy fix. We may have to make deep rooted changes to our display pipeline to better cope with the large number of pixels on iPad retina devices. Maybe you can try further reducing the number of graphics layers in your app? You said you used one layer exclusively for showing selected symbols. The graphics layer now has a highlight color and a selection symbol that you can use to either display a halo around the selected graphic, or change it's symbol entirely. If you want to discuss more options, you can drop me an email at d g o y a l AT e s r i dot c o m Hi, I am having the same issue. I am only using four empty graphic layers at the start of my app and the memory (live bytes) jump upto 40-50 mb right in the beginning of the test. and no matter how much i try to do removelayer or set it to hidden or to nil, the memory doesnot get released. However the esri arcgis app doesnot suffer from this problem. Any idea anybody why is this so.
... View more
03-04-2013
12:51 AM
|
0
|
0
|
3129
|
|
POST
|
Thanks a lot for this... However this only works in the simulator but the same code returns a blank screen in the device. Any idea why this might be.\ Thanks again
... View more
03-03-2013
04:41 PM
|
0
|
0
|
1645
|
|
POST
|
Hi, I am developing an iOS app using ArcGIS api and I wanted to put a feature of saving screenshot of the map. However using the normal rendering procedure results in a blank image. I am using the self.mapview.layers to access the layer before I save the current context as an image. Below are some lines of code from my app which does the function of saving screenshots. UIGraphicsBeginImageContextWithOptions(self.mapview.frame.size,NO, 0.0); [self.mapview.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *screenshot = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(screenshot,self,@selector(image:didFinishSavingWithError:contextInfo:),nil); There is another thread here which marks this code as the final answer but in the latest api 10.1, this just results in a blank image which is quite confusing for me. I would appreciate if some one can help me deal with this. thanks and Regards H Akhtar
... View more
02-20-2013
09:59 PM
|
0
|
14
|
5533
|
|
POST
|
Hey humzarr, If I understand right, you want your map services to be accessed by general public but your local server can not do that. Is that correct? if so, you need to have ArcGIS Server running on Amazon. Therefore, you need to start a new ArcGIS Server 10.1 on Amazon Thanks, Cherry Thanks a lot for your kind reply Regards
... View more
02-14-2013
05:10 PM
|
0
|
0
|
361
|
|
POST
|
Hi all, I have a local machine running a local 9.3.1 server and now I want to put my map services online for remote access from anywhere in the world. I want to use ArcGIS web server for amazon for this. So my question is that do I have to make a new server (10.1) on amazon web services or can I just use this 9.3.1 server as it is and just use the amazon web space to upload my data on the cloud?
... View more
10-24-2012
07:52 PM
|
0
|
1
|
1012
|
|
POST
|
Sample with C# from ArcGIS Runtime SDK for WPF / Datasources / Simple <Grid> <esri:Map x:Name="_map" Extent="-13486609,5713307,-13263258,5823117"> <esri:ArcGISTiledMapServiceLayer Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" /> </esri:Map> </Grid> public MainWindow() { InitializeComponent(); var imageryLayer = new ArcGISImageServiceLayer { Url = @"http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Portland/CascadeLandsat/ImageServer", ID = "ImageryLayer", ImageFormat = ArcGISImageServiceLayer.ImageServiceImageFormat.PNG8, NoData = 0 }; _map.Layers.Add(imageryLayer); } Thanks a lot for your help 🙂 Regards
... View more
09-17-2012
08:21 PM
|
0
|
0
|
520
|
|
POST
|
Hi, Can anyone provide a short sample C# code or guide in accessing the imageservices hosted by esri Arcgis REST through C#? In the samples provided, the access to image service is from xaml and not from C#. I will be highly grateful. Thanks Humza
... View more
09-11-2012
09:46 PM
|
0
|
2
|
778
|
|
POST
|
Hi, Has any one used Google Earth in Xaml as an ESRI : Map ? If yes than can any one provide a guide line on how to get started.. Thanks
... View more
09-02-2012
08:30 PM
|
0
|
0
|
902
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-20-2015 10:57 PM | |
| 1 | 07-22-2015 03:58 AM | |
| 1 | 06-16-2015 10:15 PM | |
| 2 | 07-20-2015 11:30 PM | |
| 1 | 10-01-2015 01:18 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|