|
POST
|
@Noah-Sager Is it possible to get the link of the use case? or any link where its been mentioned that its been handled?
... View more
03-17-2022
04:47 AM
|
0
|
1
|
2174
|
|
POST
|
Hi Team, I am trying to print the text symbol after few numbers one after the other. Before the print I can see the number are fine as expected but after the print its not coming properly. I am working with Javasacript 3 api. here is code being used. var symbol = new PictureMarkerSymbol(_globalGISUrl + "Images/marker/inspection-map-markers-no-status.png", 22, 22).setOffset(0, 5); textSymbol = new TextSymbol(stop.attributes.OBJECTID.toString()); textSymbol.setFont(font); textSymbol.setColor(new Color([255, 255, 255])); textSymbol.setAlign(TextSymbol.ALIGN_MIDDLE); textSymbol.setAngle(0); textSymbol.setOffset(1, 0); var newGraphic = new Graphic(stop.toJson()); newGraphic.setSymbol(symbol); graphics.add(newGraphic); var Graphictext = new Graphic(stop.toJson()); Graphictext.setSymbol(textSymbol); graphics.add(Graphictext); stop.setSymbol(textSymbol); You can find the number is clear but when I print it. The text 6 has text 5,3 below it. And during print its not coming as expected. Has anyone else encountered any problem like this? Thanks Aditya
... View more
03-14-2022
08:56 AM
|
0
|
4
|
2227
|
|
POST
|
Hi, I am looking to change the default projection values of my map from, EPSG: 102100 to EPSG:102723. My map extent is spatialReference: {wkid: 102100} xmax: -13653574.73424229 xmin: -13662001.91661072 ymax: 5706234.376404184 ymin: 5701285.0788227245 When I change the reference of this extent by just changing the spatial reference its bringing a blank map and the map gets freeze. I have gone through conversion using Geometry service but the example seems very complicated. Has someone just changed one extent to other using Geometry service? I am using ArcGIS javascript 3.x. Thanks Aditya
... View more
03-10-2022
06:18 AM
|
0
|
0
|
627
|
|
POST
|
Hi @Noah-Sager When I open the response, I can see all the legends. Its confusing for me as well because the response for public and secured services are same but for secured layer the legend is not working. Thanks Aditya
... View more
02-09-2022
09:21 AM
|
0
|
0
|
659
|
|
POST
|
Hi, I am trying to add legend in Lagendpanel with Secured map services. It works fine when the map service is public,but with credentials it shows no legend text. Proxy is set for this file and even in network I can see a proxy request for legend. Has some one encountered a similar problem? I am using ArcGIS Javascipt 3.x. Thanks Aditya
... View more
02-07-2022
09:44 AM
|
0
|
2
|
706
|
|
POST
|
@Noah-Sager Thanks for responding. I tried hosting my solution in the DNS. But problem remains same even after converting http to https.
... View more
01-06-2022
07:51 AM
|
0
|
0
|
927
|
|
POST
|
Hi , I am trying to consume a map service url with token using Idenntifymanager. Below is the code I am using. var tokenValue = "xxxxx"; IdentityManager.registerToken({ server: "https://mydomina.com/arcgis/rest/services", token: tokenValue }); var layerUrl = "https://mydomain/arcgis/rest/services/map/MapServer"; var layer = new ArcGISDynamicMapServiceLayer(layerUrl); map.addLayer(layer); After doing so I can see the layer in the content panel but on the map its not showing. I am getting the below error. If I remove the identifymanager its working fine.But in order to fetch the data from federated portal I need to pass a token. And while doing so, I am getting the above error. Any one else had the same problem? I have added esriConfig.defaults.io.corsEnabledServers.push("ourserver.com")but this didnt helped. Thanks Aditya Kumar
... View more
01-05-2022
02:31 AM
|
0
|
2
|
988
|
|
POST
|
I have managed to fix it. Below are the changes in the code. Basemaps.mybasemap = { title: 'My custom basemap', itemId: "xxxxxxxxxxxxxxxxxxxxxxxx", thumbnailUrl: baseMapService.MapServiceURL + '/info/thumbnail', baseMapLayers: [ { url: baseMapService.MapServiceURL, type: "VectorTile" } ] }; map.setBasemap("mybasemap"); Thanks
... View more
12-15-2021
04:11 AM
|
0
|
0
|
754
|
|
POST
|
I have managed to fix it. Below are the changes in the code. Basemaps.mybasemap = { title: 'My custom basemap', itemId: "xxxxxxxxxxxxxxxxxxxxxxxx", thumbnailUrl: baseMapService.MapServiceURL + '/info/thumbnail', baseMapLayers: [ { url: baseMapService.MapServiceURL, type: "VectorTile" } ] }; map.setBasemap("mybasemap"); Thanks
... View more
12-15-2021
04:10 AM
|
0
|
0
|
846
|
|
POST
|
Hi, I have added vector tile as base map in base map gallery. On toggle this is working as expected.Below is the code to add basemap while map load. This code works for ArcGIS dynamic map service or Tiled map service. But below code does not work for Vector tile layer. Basemaps.mybasemap = { title: 'My custom basemap', thumbnailUrl: baseMapService.MapServiceURL + '/info/thumbnail', baseMapLayers: [ { url: baseMapService.MapServiceURL } ] }; map.setBasemap("mybasemap"); } Is there a way we can add vector tile as bassemap on load? Thanks Aditya Kumar
... View more
12-13-2021
07:35 PM
|
0
|
1
|
888
|
|
POST
|
Hi, I have added vector tile as base map in base map gallery. On toggle this is working as expected.Below is the code to add basemap while map load. This code works for ArcGIS dynamic map service or Tiled map service. But below code does not work for Vector tile layer. Basemaps.mybasemap = { title: 'My custom basemap', thumbnailUrl: baseMapService.MapServiceURL + '/info/thumbnail', baseMapLayers: [ { url: baseMapService.MapServiceURL } ] }; map.setBasemap("mybasemap"); } Is there a way we can add vector tile as bassemap on load? Thanks Aditya Kumar
... View more
12-10-2021
04:52 AM
|
0
|
1
|
794
|
|
POST
|
@Noah-Sager @Bishrant I finally resolved it. I have changed textSymbol = new TextSymbol(stop.attributes.OBJECTID); to textSymbol = new TextSymbol(stop.attributes.OBJECTID.toString()); Thanks guys for the help and time. Appreciate your support. Aditya
... View more
10-07-2021
04:11 AM
|
1
|
0
|
2922
|
|
POST
|
@Bishrant Sorry for delayed response. I have attached a HTML file. I have tried everything its not working. But there is a catch in this file. If you go to line number 163 textSymbol = new TextSymbol(i++); On every click the number will change and you wont get the number in the print pdf but if the same number if you make it static textSymbol = new TextSymbol("1"); then you will get the print.
... View more
10-07-2021
03:25 AM
|
0
|
0
|
708
|
|
POST
|
@Noah-Sager Sorry for delayed response. I have attached a HTML file. I have tried everything its not working. But there is a catch in this file. If you go to line number 163 textSymbol = new TextSymbol(i++); On every click the number will change and you wont get the number in the print pdf but if the same number if you make it static textSymbol = new TextSymbol("1"); then you will get the print.
... View more
10-07-2021
03:24 AM
|
0
|
0
|
2218
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-07-2021 04:11 AM | |
| 2 | 08-19-2020 06:11 AM | |
| 1 | 10-25-2017 05:43 AM | |
| 1 | 11-18-2015 11:14 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-08-2023
12:01 AM
|