Comparing the json strings returned from the various servers, one difference we can spot is the 'layer' definition section, which we've extracted and shown below: OneMap: "layers" : [ { "id" : 0, "name" : "IMAP_GD.COAST_LINE", "parentLayerId" : -1, "defaultVisibility" : true, "subLayerIds" : null } ],
I think so. Something appears to be a problem in the service, I cannot preview it in Javascript either. Is there anything unusual about the mxd or how this service was created?
You have created a folder like "WhereTo" ,Which says You are using "Geometry" service and again there is a folder "WhereTo/Island_Base" Which says you are not using any service
This service will work in normal ESRI arcgis server application but for the iPhone application "WhereTo/Island_Base" this makes problem..
I need to develop the application using the onemap . Can anyone pls guide me how to load the basemap in the iPhone. I have downloaded iPhone SDK also the sample in which I see that we need to specify the URL from which the tiles of the map is loaded. I am not able to get that url w.r.t oneMap. It would be helpful if someone here can help me out.
Thank you for the reply .. Actually I tried loading the map in the view using the one map server. I use that for loading tiles. Its working fine.
But I am facing problem in adding multiple pins for the locations. It crashes while I tap on the pins for showing the callout. Inside the AGSMapView class it crashes due to _EXC_BAD_ACCESS while didProcessSingleClick: and shouldShowCallAtPoint: is called. Did anyone face the similar problem . I used GeocodingDemo as the sample for reference.
It was the problem because of the callout template object , which I was creating when every time I drop the Pin using tap and hold. Every time the new instance was created .