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
|
3060
|
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
|
932
|
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
|
3735
|
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
|
6648
|
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
|
3612
|
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
|
1161
|
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
|
5998
|
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
|
3201
|
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
|
823
|
POST
|
Hi Nigel, Thanks for this, I'm probably going to use this approach if using the returnDistinctValues property doesn't work. I thought i could avoid the array filtering/querying of object Ids which does affect performance of the application. Surprisingly this hack also didn't work ArcGIS JavaScript API Hacks: Query Return Distinct - raykendo Thanks, Ryan
... View more
05-08-2015
05:03 AM
|
0
|
5
|
5559
|
POST
|
Hi Tom, thanks for your response. There's 2500 records from the feature layer but currently it's not getting all the unique values because it's only processing the first 1000 records. I'm expecting about 80 - 90 unique values for the combo box. You said that you ran a distinct query, so i need to set returnDistinctValues to true on the query? *I am using API version 3.13 Thanks, Ryan
... View more
05-07-2015
11:56 PM
|
0
|
7
|
5559
|
POST
|
Hi Guys, i need to retrieve unique values from a set of feature layers. I've been using the following example as a guideline - Using JavaScript to populate a ComboBox with unique values | ArcGIS Blog but my problem as noted in that article is that the records i have is over 500, 2500 to be exact. I came across a certain "returnDistinctValues" property from the Query API Reference - Query | API Reference | ArcGIS API for JavaScript which if set to true will return distinct Values of the specified outfields of the query. I haven't tried out as yet since it requires "supportsAdvancedQueries" property of the feature layer to be set to true and the current configuration has it set to false. I do recognize that changing the maxRecord of the feature layer could severely hamper the performance, so the only other option i can think of using the queryIds method of the feature layer? Please advise as to which approach i should take to overcome this issue. Thanks, Ryan
... View more
05-07-2015
11:08 AM
|
1
|
11
|
16102
|
POST
|
Hi Kelly, thanks for the response. No issues on IE 10 with the current release(3.10). Another GeoNet user did stipulate that the (3.4) version was released before the first stable release of IE 10. So i guess i have to upgrade to (3.10). Please confirm Thanks, Ryan
... View more
10-08-2014
07:28 AM
|
0
|
1
|
592
|
POST
|
Hi Jeff, i have a issue with IE 10 regarding the Measure widget. Kindly check the following post, Measure Widget issue on IE 10 Thanks, Ryan
... View more
09-20-2014
02:25 AM
|
0
|
1
|
542
|
Title | Kudos | Posted |
---|---|---|
1 | 05-26-2015 11:55 PM | |
3 | 06-18-2015 01:38 AM | |
1 | 05-07-2015 11:08 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|