POST
|
Heiko, The application which is using flex API was in prod from couple of years and we don't want to change functionality while converting it to javascript API...I found one about popup...I will try below one.. https://community.esri.com/thread/101069 Thanks.
... View more
12-20-2014
08:30 PM
|
0
|
0
|
1083
|
POST
|
Robert, Thanks for your quick reply. Is there any other way to show the graphic info on map for multiple graphics? Thanks
... View more
12-19-2014
11:35 AM
|
0
|
1
|
1083
|
POST
|
Hi, I know its possible to do with flex api. Is it possible to do same with javascript api? I am trying to add info window for each graphic as below. map.infoWindow.setTitle(title); map.infoWindow.setContent(content); map.infoWindow.show(graphic.geometry); map.graphics.add(graphic); it is adding for first graphic and if I try to add second graphic, the first graphic info window is deleting and it is adding to second graphic. "The map is only allowed to have one info window (singleton design)." is this statement true for java script api? All answers are greatly appreciated.. Thanks.
... View more
12-19-2014
11:07 AM
|
0
|
9
|
6479
|
POST
|
Solved last week. Problem was token not created using same domain. Solution: String tokenUrl = url + "tokens/generateToken?username=" *****&password=*****"; URL uRl = new URL(tokenUrl); HttpURLConnection con = (HttpURLConnection) uRl.openConnection(); con.setDoOutput(true); con.setDoInput(true); con.setRequestProperty("Client", "HTTP Referer"); con.setRequestProperty("HTTP referer", "******"); con.connect(); use this generated token as below: uRl = new URL(url+"&token=*******"); con = (HttpURLConnection) uRl.openConnection(); con.setDoOutput(true); con.setDoInput(true); con.setRequestProperty("Client", "HTTP Referer"); con.setRequestProperty("HTTP referer", "*****"); con.connect(); wr = new OutputStreamWriter(con.getOutputStream()); wr.flush();
... View more
08-07-2014
11:44 AM
|
0
|
0
|
495
|
POST
|
any help?? Do we need to do any kind of settings from ArcGIS side??
... View more
07-29-2014
11:43 AM
|
0
|
1
|
495
|
POST
|
Yes, We do have other services but not based on token, which are working fine. I have tried not calling setUserToken but no use..If i debug and check the variables I am seeing LayerStatus=UNINITIALIZED... I am able to see the layers if i go directly in the browser after giving user name and password.... -Naveen
... View more
07-29-2014
05:47 AM
|
0
|
0
|
495
|
POST
|
I am trying below code to access the layers, which is token based rest service with username and password..It is not working any idea??? UserCredentials creds = new UserCredentials(); creds.setUserAccount("username", "password"); creds.setUserToken("huiqyuidhiqkljklwejk6Qzwgehwj6bqoKbjhwejkhiTBx", "localhost"); ArcGISDynamicMapServiceLayer layer = new ArcGISDynamicMapServiceLayer("http://.........", creds); Thanks
... View more
07-28-2014
09:20 AM
|
0
|
5
|
4101
|
POST
|
Hi, I have the similar problem with outline the polygon and Polyline with SimpleLineSymbol. Before if I query featureLayer.selectFeatures(...) I don�??t have the graphics problem but I used to get the GCOD error. So I changed the code to featureLayer.selectionColor=NaN and after the query I added graphics to polygon and polyline. Now the issue is first time I am seeing the highlighted graphic and after if I do continuously 3 or 4 times I am not seeing graphic. What might be the issue? I am using API 3.2, Viewer 3.2 and ArcGIS server 10.1. Polygon: var sls:SimpleLineSymbol = new SimpleLineSymbol; sls.color=0xFFFF00; sls.alpha=1.0; sls.width=2; var sfsFill:SimpleFillSymbol= new SimpleFillSymbol; sfsFill.outline=sls; sfsFill.style ="solid" featureLayer.symbol=sfsFill Polyline: var sls:SimpleLineSymbol = new SimpleLineSymbol; sls.color=0xFFFF00; sls.alpha=1.0; sls.width=2; featureLayer.symbol=sls Thanks, Naveen
... View more
09-12-2013
09:14 AM
|
0
|
0
|
529
|
POST
|
Thanks for the answer.I got same issue with 2.5. is this issue got fixed in new versions(ArcGIS API 3.0 or 3.2 for Flex)? Thanks.
... View more
04-18-2013
12:55 PM
|
0
|
0
|
560
|
POST
|
Thanks for your reply. If we know the OBJECTID ('OBJECTID BETWEEN 1 AND 10')will works as expected. But first thing how to know the OBJECTID?? I am querying to know the OBJECTID like first 50 and after 2nd set of 50...... Thanks!! -Naveen(NY State)
... View more
09-08-2012
01:05 PM
|
0
|
0
|
336
|
POST
|
Hi All, I am querying the rest using query.where= "rownum >= 1 and rownum <= 50" It???s giving me first 50 OBJECTID's but if I do query.where= "rownum >= 51 and rownum <= 100" It???s giving me 0 records. Any idea? This way I am doing pagination because I have more than 3 million records for some layers. if I do query.where="1 = 1". The app is freezing. Thanks !! -Naveen
... View more
09-06-2012
11:11 AM
|
0
|
4
|
2138
|
POST
|
I got the solution: var sDate:Date = new Date(dateString); var s2:String=DateField.dateToString(sDate,"MM/DD/YYYY ")
... View more
08-07-2012
12:53 PM
|
0
|
1
|
554
|
POST
|
Hi All, I excuted spatial query and got the results, In that results one column is esriFieldTypeDate and that value is 1131321600000. I try to convert it to MM/DD/YYYY using DateFormatter but It is not working. Any idea?? Thanks, Naveen
... View more
08-07-2012
10:38 AM
|
0
|
5
|
4749
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|