POST
|
Thanks Divesh, for replying. We have verified it on app, layerDidLoad getting called properly for all layers, In app we have AGSMapView on two View controllers ViewController1 : On which it loads map with multiple polygons On tap of polygon from ViewController1, it pushes ViewController2 ViewController2 : it loads map with a single polygon and some markers on it. On tap of marker it presents ViewController3 5. App is getting crashed when ViewController3 presentation is in progress with following crash logs. We are getting two different type of crash logs, but for both cases crash reproduction steps are same.Following is another one, posted another question for this https://community.esri.com/thread/179502 Complete Crash Logs: 1.https://www.dropbox.com/s/g08og9sfmkgqr2z/AGSMapRenderer_drawRequested_Crash_Log.txt?dl=0 2. https://www.dropbox.com/s/dim1fcx17bdwtro/AGSMapView_singleTap_Crash_Log.txt?dl=0 Here are some queries: We are creating separate instances of AGSMapView, separate layers instances on both view controllers ViewController1 and ViewController2, so will it create a issue? 2. On both ViewController1 and ViewController2 we are calling self.agsMapView.locationDisplay.startDataSource() On ViewController3 we need users current location so we are checking for it by using CLLocationManager, any chances that this will create a issue. Let me know if you need any more details.
... View more
08-03-2016
07:53 AM
|
0
|
0
|
287
|
POST
|
No Chris, it didn't work for me, the issue is still occurring.
... View more
08-02-2016
02:43 AM
|
0
|
0
|
287
|
POST
|
Now I've changed it to Static mode but now if I rotate map, markers also getting rotated, I'll test more on it and let you know, if it fixes that crash or not. Thanks.
... View more
07-19-2016
12:44 PM
|
0
|
2
|
766
|
POST
|
Hi Chris, I'll try the scenario you have mentioned, and let you know, if I can reproduce it.
... View more
07-18-2016
12:10 PM
|
0
|
0
|
766
|
POST
|
Hello Ryan Olson, Thanks for replying, following is the code which I have used to add Picture Marker Symbol, the issue is random and when I tap on the marker the above crash issue is occurring, self.markerGraphicsLayer = AGSGraphicsLayer(fullEnvelope:envelop ,renderingMode:AGSGraphicsLayerRenderingMode.Dynamic) self.agsMapView.addMapLayer(self.markerGraphicsLayer, withName:Constants.graphicsLayerNames.MarkerGraphicsLayer) func createMarkerGraphicsWithBadgeCount(point:AGSPoint,image:UIImage ,graphicAttributes :[NSObject:AnyObject] ) { var graphicPoint:AGSPoint! var graphicSymbol:AGSPictureMarkerSymbol! graphicPoint = AGSPoint(x: point.x, y:point.y, spatialReference:self.agsMapView.spatialReference) graphicSymbol = AGSPictureMarkerSymbol(image:image) let graphics = AGSGraphic(geometry: graphicPoint, symbol:graphicSymbol, attributes:graphicAttributes) self.markerGraphicsLayer.addGraphic(graphics) } //Delegate method to handle tap on marker func didTapOnGraphics(graphic:AGSGraphic, coordinate:CLLocationCoordinate2D) { //Here new controller will be presented }
... View more
07-18-2016
11:02 AM
|
0
|
0
|
766
|
POST
|
Marius UrsacheRyan OlsonDivesh Goyal Hey guys, can you please help us to identify this issue.
... View more
07-18-2016
07:58 AM
|
0
|
0
|
766
|
POST
|
No I've posted this question on Stack overflow as well, but didn't get any response yet. I'll update you, if I found any solution for it. Also let me know if you found any solution.
... View more
07-18-2016
06:09 AM
|
0
|
0
|
766
|
POST
|
This crash is occurring quite frequently, any help that will give us any direction to fix this issue, EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000001 Crashed: com.apple.main-thread 0 libGPUSupportMercury.dylib 0x190e61f28 gpus_ReturnGuiltyForHardwareRestart 1 libGPUSupportMercury.dylib 0x190e62ec4 gpusSubmitDataBuffers 2 GLEngine 0x1951231e4 gliPresentViewES_Exec 3 GLEngine 0x1951230fc gliPresentViewES 4 OpenGLES 0x1849ffc44 -[EAGLContext presentRenderbuffer:] + 72 5 MyCity 0x100363c44 -[AGSMapRenderer drawRequested] + 592 6 MyCity 0x100363638 -[AGSMapRenderer pulse:] + 308 7 QuartzCore 0x1853d4234 CA::Display::DisplayLinkItem::dispatch() + 40 8 QuartzCore 0x1853d40e8 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 424 9 IOKit 0x182b19e54 IODispatchCalloutFromCFMessage + 372 10 CoreFoundation 0x182841030 __CFMachPortPerform + 180 11 CoreFoundation 0x1828597d4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56 12 CoreFoundation 0x182858f0c __CFRunLoopDoSource1 + 436 13 CoreFoundation 0x182856c64 __CFRunLoopRun + 1800 14 CoreFoundation 0x182780c50 CFRunLoopRunSpecific + 384 15 GraphicsServices 0x184068088 GSEventRunModal + 180 16 UIKit 0x187a62088 UIApplicationMain + 204 17 MyCity 0x100216550 main (AppDelegate.swift:16) 18 libdispatch.dylib 0x18231e8b8 (Missing)
... View more
07-06-2016
12:58 PM
|
0
|
0
|
2118
|
POST
|
Found few crashes on Crashlytics, with following details, any help about the cause of issue, its occurring when we tap on map. Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000000000000 Crashed: com.apple.main-thread 0 libsystem_platform.dylib 0x182f362a0 _platform_memmove + 176 1 AGXGLDriver 0x194d2ff6c glrAGXRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*) 2 AGXGLDriver 0x194d2ff6c glrAGXRenderVertexArray(GLDContextRec*, unsigned int, unsigned int, int, int, unsigned int, void const*, int, void const*) 3 GLEngine 0x195ad2ea4 glDrawElements_ACC_ES2Exec 4 MyCity 0x100a4c044 Esri_runtimecore::Map_renderer::Sequence_pick_visitor::draw_() + 396 5 MyCity 0x100a36b98 Esri_runtimecore::Map_renderer::Graphic_buffer::visit_sequences_(std::__1::shared_ptr<Esri_runtimecore::HAL::Device> const&, std::__1::shared_ptr<Esri_runtimecore::Map_renderer::Sequence_visitor> const&, Esri_runtimecore::Map_renderer::Graphic_buffer::Allow_throttling, bool) + 972 6 MyCity 0x100a05e0c Esri_runtimecore::Map_renderer::Graphics_layer::gpu_hit_test_(std::__1::shared_ptr<Esri_runtimecore::HAL::Device> const&, std::__1::shared_ptr<Esri_runtimecore::Map_renderer::Display_properties> const&, std::__1::shared_ptr<Esri_runtimecore::Map_renderer::Hit_testable::Hit_test_request_details> const&) + 1004 7 MyCity 0x100a0773c Esri_runtimecore::Map_renderer::Graphics_layer::hit_test(std::__1::shared_ptr<Esri_runtimecore::Geometry::Multi_path> const&, unsigned long) + 460 8 MyCity 0x10046b894 -[AGSMapViewBase hitTestPoint:mapPoint:] + 232 9 MyCity 0x100399bac -[AGSMapView singleTap] + 336 10 UIKit 0x1889c1f30 _UIGestureRecognizerSendTargetActions + 164 11 UIKit 0x1885d6728 _UIGestureRecognizerSendActions + 172 12 UIKit 0x1884637a0 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 784 13 UIKit 0x1889c3530 ___UIGestureRecognizerUpdate_block_invoke898 + 72 14 UIKit 0x1884224d8 _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 372 15 UIKit 0x18841f254 _UIGestureRecognizerUpdate + 2404 16 CoreFoundation 0x183290728 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32 17 CoreFoundation 0x18328e4cc __CFRunLoopDoObservers + 372 18 CoreFoundation 0x18328e8fc __CFRunLoopRun + 928 19 CoreFoundation 0x1831b8c50 CFRunLoopRunSpecific + 384 20 GraphicsServices 0x184aa0088 GSEventRunModal + 180 21 UIKit 0x18849a088 UIApplicationMain + 204 22 MyCity 0x10024a550 main (AppDelegate.swift:16)
... View more
07-06-2016
12:53 PM
|
0
|
13
|
4125
|
POST
|
Hi Ryan, Found the issue, yes its observer, used some third party code for showing compass, which was having observer, so failed to notice it. Thanks a lot for your help.
... View more
06-29-2016
01:56 AM
|
0
|
0
|
608
|
POST
|
yes, re-confirmed again, commented all addObserver code and it still crashes. Looks like its not related to addObserver part.
... View more
06-28-2016
03:53 PM
|
0
|
0
|
608
|
POST
|
Thanks for reply Ryan, I've added removeObserver in viewWillDisappear, even I tried commenting add observer code, but still no use. It still crashes randomly.
... View more
06-28-2016
03:22 PM
|
0
|
1
|
608
|
POST
|
We are working on a app in which we have AGSMapView on two view controllers 1. MainViewController: In this controller we have map with polygons 2. DetailViewController: This controller is pushed when user taps on polygon on MainViewController, in this controller we are showing map with only tapped polygon Randomly its crashing when pushing DetailViewController from MainMapViewController, if enabled Zombie objects, its working fine using v10.2.5 * thread #1: tid = 0x26dc5, 0x00000001808f5b90 libobjc.A.dylib`objc_msgSend + 16, queue = 'com.apple.main-thread', activity = 'starting resolver activity', 1 messages, stop reason = EXC_BAD_ACCESS (code=1, address=0xd3a99398) frame #0: 0x00000001808f5b90 libobjc.A.dylib`objc_msgSend + 16 frame #1: 0x0000000181b66454 Foundation`-[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:] + 324 frame #2: 0x00000001004680f0 LAFDBrush`-[AGSMapViewBase updateEnv:withKVO:forceUpdateIfNoChange:] + 132 frame #3: 0x0000000100465014 LAFDBrush`-[AGSMapViewBase ags_spatialReferenceInitialized] + 804 frame #4: 0x000000010046d098 LAFDBrush`AGSSpatialReferenceInitializedCallback::spatial_reference_initialized_callback() + 52 frame #5: 0x00000001009cd97c LAFDBrush`Esri_runtimecore::Map_renderer::Map::initialize_layer_manager_() + 1324 frame #6: 0x00000001009cfd28 LAFDBrush`Esri_runtimecore::Map_renderer::Map::on_pulse_() + 752 frame #7: 0x00000001003912b0 LAFDBrush`-[AGSMapRenderer pulse:] + 284 frame #8: 0x00000001025a7768 libglInterpose.dylib`-[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 172 frame #9: 0x0000000183db02f0 QuartzCore`CA::Display::DisplayLinkItem::dispatch() + 40 frame #10: 0x0000000183db01a4 QuartzCore`CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 424 frame #11: 0x00000001814f5e54 IOKit`IODispatchCalloutFromCFMessage + 372 frame #12: 0x000000018121d0e0 CoreFoundation`__CFMachPortPerform + 180 frame #13: 0x000000018123585c CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56 frame #14: 0x0000000181234f94 CoreFoundation`__CFRunLoopDoSource1 + 436 frame #15: 0x0000000181232cec CoreFoundation`__CFRunLoopRun + 1800 frame #16: 0x000000018115cd10 CoreFoundation`CFRunLoopRunSpecific + 384 frame #17: 0x0000000182a44088 GraphicsServices`GSEventRunModal + 180 frame #18: 0x0000000186429f70 UIKit`UIApplicationMain + 204 * frame #19: 0x000000010020b978 LAFDBrush`main + 144 at AppDelegate.swift:17 frame #20: 0x0000000180cfa8b8 libdyld.dylib`start + 4
... View more
06-28-2016
02:39 PM
|
0
|
5
|
3030
|
POST
|
1). You can try overriding the map's maxScale or minResolution property to allow you to zoom in beyond the canvas basemap's most detailed level. Note, when you do this, the tiles will be resampled when you zoom in beyond the last level and may appear pixelated, but it will allow you to zoom in enough to see the light poles layer. 2) You have a couple of options here. You can make a copy of the webmap in your Arcgis online account and change the symbology there. Then when you open your webmap copy, it'll have the updated symbology. Or you can continue using the existing web map but override the symbology in your app. To do this, find the AGSFeatureLayer representing the light poles layer in the AGSMapView, and override the renderer. Hello Divesh, thanks a lot for reply, As you have suggested i have changed annotation symbology from online arcgis account. Now it looks good, not found minResolution method and maxScale in AGSMapView class, but now its not necessary as i have used world topography map , and its not have any zooming issue. But now i am facing a different problem if i touch on annotation it shows proper annotation callout, but if i click on blank area it shows annotation with "IN" text. [ATTACH=CONFIG]32482[/ATTACH] It dose not show any callout on browser for that web map.
... View more
03-25-2014
05:58 AM
|
0
|
0
|
448
|
POST
|
Hello All, 1. I am trying to show LA street lights data in iOS map, i have used "http://www.arcgis.com/home/item.html?id=fbea2cb239004e6ba4c4f01eb809bba4" for reference, so in iOS app loading webmap using following method self.webmap = [AGSWebMap webMapWithItemId:@"fbea2cb239004e6ba4c4f01eb809bba4" credential:nil]; I can zoom in map and its showing street lights data properly. Now i would like to change its base map, so for that i have adding tiled map layer using following method AGSTiledMapServiceLayer *tiledLayer = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:[NSURL URLWithString:@"http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer"]]; [self.mapView addMapLayer:tiledLayer withName:@"Basemap Tiled Layer"]; Its loading properly, but problem which i am facing is, its not further zoom in after specific zoom in level. i have tried by using "zoomToEnvelpe" its working fine if above tiled layer is not used. 2. Also my another question is, Is it possible to change default annotations (pins) shown in above webmap created with id "fbea2cb239004e6ba4c4f01eb809bba4", if not what is the approach that i can use so i can load different annotations. Any help really appreciated. Thanks.
... View more
03-23-2014
11:44 PM
|
0
|
4
|
3055
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|