POST
|
Hi guys, i have an xml file of which i need to add an xsl to it so that it can be readable on the browser. I tried using the xslt transformation tool and the USGS MP Metadata Translator tool but both didn't work. Am i missing something or is there another way to achieve this? Regards, Ryan
... View more
07-08-2015
11:26 AM
|
0
|
1
|
2386
|
POST
|
Hi Bjorn, I used the following example - Working with TextSymbol in the ArcGIS JavaScript API | ArcGIS Blog I'm using api version 3.13 and the code i used to create the text symbol is: map.on("click", function (evt) { map.graphics.add( new Graphic( new Point(evt.mapPoint.x, evt.mapPoint.y, map.spatialReference), new TextSymbol(dojo.byId("title").value).setColor( new Color(mapTextColor)).setFont( new Font(parseInt(dijit.byId("titlesize").value)).setWeight(Font["WEIGHT_BOLD"])) )); }); Regards, Ryan
... View more
06-30-2015
02:48 AM
|
0
|
2
|
11
|
POST
|
Hi Guys, I have a tool which allows users to add text to the map. It works fine but when they try to do a print with the text they added to the map, the font size changes and so does the color of the text. How can i keep the selected the selected font size and color on the printout? Regards, Ryan
... View more
06-26-2015
01:42 AM
|
0
|
5
|
2814
|
POST
|
Hi Guys, I'm using the esri request to retrieve layer Info from a map service. The call works fine and i'm able to retrieve the data, however now i want to check if url provided to make the request is valid or not. I've tried using the "timeOut" parameter but it only throws an error after 1 minute which i understand is the default setting. Any ideas? Thanks, Ryan I've tried the following code: esriRequest({ "url": url, "callbackParamName": "callback", "content": { "f": "json" }, "handleAs": "json", "timeOut": 5000 });
... View more
06-17-2015
02:08 AM
|
0
|
2
|
4183
|
POST
|
Hi guys. I'm performing a query based on a set number of objectids but the processing time of the query takes really long to complete. It varies between 30seconds - 60seconds. I've tried two approaches, using objectIds in a where clause ("OBJECTID IN (1,2,3....)") and passing an array to the query.objectIds parameter. Can someone please help me understand as to why this takes so process and what can i do to improve this processing time@? The reason i need to search by objectIds is because i'm reading from a feature layer which has more than 1000 records, so i obviously need to perform queries on each batch and then use the results elsewhere. Thanks, Ryan
... View more
05-28-2015
01:02 PM
|
0
|
1
|
3137
|
POST
|
Hi Rickey, thanks for your response. I've been using firebug to monitor the css on the application. I managed to resolve this by using domStyle.set() instead of dojo.style() and afterwards i called the dialog._endDrag() which stations the dialog to the defined position when the window is resized.
... View more
05-26-2015
11:55 PM
|
1
|
0
|
34
|
POST
|
Hi guys i'm using a dijit dialog and have populated it with certain controls and i've set an initial style and positioning to it but when i resize the browser window the dialog positions changes, it stretches all the way to the center which i assume is the default position of the dijit dialog. How can i prevent this from occurring? Below is the code I've used to perform the styling. dojo.style(searchDialog.domNode, 'visibility', 'hidden'); searchDialog.show().then(function () { dojo.style(searchDialog.domNode, 'top', '10px'); dojo.style(searchDialog.domNode, 'right', '40px'); dojo.style(searchDialog.domNode, 'left', ''); dojo.style(searchDialog.domNode, 'visibility', 'visible'); }); Thanks, Ryan
... View more
05-25-2015
01:10 PM
|
0
|
2
|
4871
|
POST
|
Hi guys, I would like to know how i can efficiently handle changes to feature layer outfield names. Currently when i'm querying any feature layer i'm hard coding the outfield parameters for any given query. eg query.outfields = ["Code,RName"]. I've dealt with two particular REST services already for a current application and i've noticed that certain outfield name changes when it gets republished which obviously causes the querying to stop working properly. Do i have to manage this process via an external db or can i make a case with the data management guys to make sure the fields stay constant or have a constant alias of some sort of which i can then compare and extract the required fields. Regards, Ryan
... View more
05-12-2015
12:24 PM
|
0
|
1
|
2492
|
POST
|
Thanks guys! I really appreciate your help on this topic. I've merged both approaches into one solution for my application. Thanks again Regards, Ryan
... View more
05-10-2015
02:41 AM
|
0
|
0
|
78
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|