POST
|
No i am not setting any symbol for the point of feature layer. I am setting for the color filling inside the polygon.
... View more
07-27-2017
09:35 AM
|
0
|
1
|
1577
|
POST
|
I have already added the symbol for a graph and that is for filling color of the polygon. but now i want to change the CSS of pins which are under the polygon. Here is the code var symbol = new SimpleFillSymbol( SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID, new Color([r,g,b,0.9]), 4 ),new Color([r,g,b,0.5])); var graphic = new Graphic(query, symbol); map.graphics.add(graphic);
... View more
07-27-2017
06:27 AM
|
0
|
3
|
1577
|
POST
|
Robert, No , it is the image coming from the feature layer. we are not setting anything in the javascript.
... View more
07-27-2017
06:08 AM
|
0
|
5
|
1577
|
POST
|
Robert I have updated the image of a pin . please check it again then you might be clear what i am asking for Thanks
... View more
07-27-2017
05:57 AM
|
0
|
7
|
1577
|
POST
|
I am trying to change the CSS of the feature from feature layer through the javascript API 3.2.1 . Please check the attached file of pin image. Thanks
... View more
07-27-2017
05:17 AM
|
0
|
9
|
2509
|
POST
|
I am trying to add a SimpleFillSymbol() and TextSymbol() in a single graphics() after draw polygon on the feature layer. Independently they are working fine but i want to combine these two symbols. Here is the code : // SimpleFillSymbol code var symbol = new SimpleFillSymbol( SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol( SimpleLineSymbol.STYLE_SOLID, new Color([r,g,b,0.9]), 4 ),new Color([r,g,b,0.5])); //TextSymbol code var symbol1 = new esri.symbol.TextSymbol(); symbol1.setText("tsText"); symbol1.setColor(new dojo.Color([0, 255, 0])); var graphic = new Graphic(evt.geometry, symbol); map.graphics.add(graphic); I have attach the HTML file of a sample feature layer. Thanks
... View more
07-24-2017
09:55 AM
|
0
|
2
|
2675
|
POST
|
Thanks Saroj for the reply. Actually the sample which you have provided is also asking username and password through login window but I am looking just like below code where I can set username and password and after that it automatically handles. Below code is in iOS swift but this is for reference only: let portal = AGSPortal(url: URL(string: "<host url>")!, loginRequired: false) portal.credential = AGSCredential(user: "<username>", password: "<password>") portal.load() {[weak self] (error) in if let error = error { print(error) return } // check the portal item loaded and print the modified date if portal.loadStatus == AGSLoadStatus.loaded { let fullName = portal.user?.fullName // let licenseInfo = portal.portalInfo?.licenseInfo print(fullName!) } } Is there any rest api in ArcGIS javascript api v3 where I can pass only username and password of ArcGIS online portal and after that I can access secure feature service layer? Thanks, Kamal
... View more
07-20-2017
09:51 AM
|
0
|
0
|
2948
|
POST
|
Thanks for the reply. Actually I have not shared my feature service layer publicly. It is only for portal user. Now when I try to use that feature service url in map then it is opening a user credential dialog window(Attached image) but I don't want to show this dialog window to user. Instead of this, can we set user credentials in javascript code so that it will show feature layers data into map without open user credential dialog?
... View more
07-20-2017
02:55 AM
|
0
|
4
|
2948
|
POST
|
Hi, I have created a feature service layer on my arcgis online portal and hosted it there also. Now I want to use this feature service layer on map through arcgis javascript api v3.2. Now I want to pass username and password through code and can access feature service layer as I don't want to ask credential from user. Can you please provide me some sample code in ArcGIS API JavaScript 3.20. Thanks, Kamal
... View more
07-19-2017
11:20 AM
|
0
|
8
|
6518
|
POST
|
Yes I am asking about sync operation. So one thing I want to confirm is that when I call feature service again then it will return only updated feature data or whole feature data? Thanks, Kamal
... View more
07-06-2017
02:48 AM
|
0
|
2
|
843
|
POST
|
Thanks Suganaya. Actually I want to fetch only updated features or specific features data from arcgis online layer url not from the locally geodatabase. Thanks, Kamal
... View more
06-17-2017
04:26 AM
|
0
|
4
|
843
|
POST
|
Hi, I have generated geodatabase on device for offline use. Now I want to get only those features which are last edited/modified or newly added instead of whole features data and update geodatabse(which will contain old + new feature data) on device when user press refresh button. Right now I am using Arcgis runtime iOS sdk v100.0 How I will achieve that thing? Thanks, Kamal
... View more
06-15-2017
08:33 PM
|
0
|
6
|
1428
|
POST
|
Thanks Robert. It works like a charm. Can I achieve same thing through arcgis runtime iOS sdk v100.0 ?. I have put query related to this to new thread: https://community.esri.com/message/694399-how-to-get-lastmodifieddate-of-feature-layer-through-ios-sdk Thanks, Kamal
... View more
06-15-2017
08:04 PM
|
0
|
1
|
911
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|