POST
|
How can I control the number of decimal places in the infowindow when I am using the default editor sample codes...The only line in the code that has a mention of infowindow is \ [HTML]map.infoWindow.resize(400, 300);[/HTML] Any help?....very frustrated with dijits.....
... View more
05-18-2012
06:09 AM
|
0
|
1
|
713
|
POST
|
Accordion pane's have a selectedChildWidget property. You could do something like: dijit.byId("accordionId").selectedChildWidget.id To get the ID of the selected content pane inside an accordion dijit. Thanks for the help....I was trying dojo.byId instead of dijit.byId.. Thanks again
... View more
05-17-2012
07:36 AM
|
0
|
0
|
399
|
POST
|
I have accordion pan and I want to get the ID of the selected panel(contentpane) on click or change or whatever event it has. After Reading/googling the wonderful dojo documentation, i reached the conclusion that this is probably the only place i can get answer...DOJO sucks but Dojo documentation sucks even more.... so please help me here....onClick event is listed on dojo's documentation but cant find implementation to get the selected child or any child....
... View more
05-17-2012
07:04 AM
|
0
|
3
|
1209
|
POST
|
I agree, unfortunately without querying the map (i.e. looping through the layers) there is no way to know which layer you clicked. A map.visibleLayerIds would be a very useful property, however. If you dont mind marking my response as an answer, i would appreciate it 🙂 so after three days of brain storming, I am able to write a generic js that can detect all the visible layers in the map (on Click), do identify, remove on click event, and then display all results into a popup window...very similar to what you see on arcgis online identify. But My special message to ESRI, please provide us a pure javascript API and let us decided what library i wana use....because documentation on dojo is so crappy that it doesn't make any sense to me...
... View more
05-04-2012
11:08 AM
|
0
|
0
|
552
|
POST
|
Thanks Jeff...Yes i totally agree with you. I wish map click could return something more than mappoint like clicked graphic/layer etc...or map object has event like getAllvisible layers instead of getting all layers.. Thanks again
... View more
05-02-2012
08:09 AM
|
0
|
0
|
552
|
POST
|
There is no identify dijit. There is an identify task, however, that you can pass an onclick and will let you choose ALL, TOP, or VISIBILE to identify. Yes but you have to specify the URL and then choose layers...is it a way that you click on map, get all the visible layers and then use all those layers to do the identify? This way i can write a function where i can pass all the visible layers at map click and then iterate through each layer and get results... thanks
... View more
05-02-2012
07:46 AM
|
0
|
0
|
552
|
POST
|
Is there a generic identify tool, which finds out which layer was clicked and then return all the attributes...by getting layers and layerIDs just by clicking on the map.... I am going to work on this but i thought should check if anybody already did something similar...
... View more
05-02-2012
06:57 AM
|
0
|
6
|
970
|
POST
|
Thanks. I tried services from another server and it does work. Somehow i am having trouble printing from this one server. Thanks for the help. Mehul!
... View more
05-01-2012
05:56 AM
|
0
|
0
|
211
|
POST
|
Print tool works fine for dynamic layer but if i use it with cached layer, its not working...is it just me...or anybody else having same problem?
... View more
04-30-2012
07:03 AM
|
0
|
2
|
345
|
POST
|
I am using the Locate Widget in the compiled Flex Viewer. I am using LocateWidget_World.xml. When I open the widget and go to the 'Coordinates' tab there are default coordinates there (-77.03655, 38.89767). These coordinates are not within my study area, so I would like to change the default coordinates. I don't see these coordinates specified in the LocateWidget_World.xml. Is there some place else to change these default coordinates for the compiled viewer? In your config file for the locate widget, you can add.. <labels> <xexamplevalue>examples</xexamplevalue> <yexamplevalue></yexamplevalue> </lables> Thanks Zahid Chaudhry
... View more
04-02-2012
01:23 PM
|
0
|
0
|
208
|
POST
|
I am trying to attach a file using pure REST API. Unfortunately there is no example how to do this with C#. I got some information from here but no luck in getting it work. I will appreciate if someone can help me with this... thanks
... View more
12-12-2011
12:26 PM
|
0
|
1
|
2520
|
POST
|
Zahid, Try this: var bDate1:Date = new Date(2011,10,2,0,0,01);
//When you pass the date use bDate1.time;
//Notice the 01 for the seconds that will take care of the REST date time issue. Thanks Robert, I forgot to mention that i am not using ESRI API. But i will try this in the morning. All i want is Date i am not worried about time... (2011,10,2)...will try in the morning and see if it works... Thanks again
... View more
10-06-2011
02:59 PM
|
0
|
0
|
224
|
POST
|
I am editing feature service and everything works fine except Dates. Can not populate correct dates. I am using ArcSDE (10 and SQL server 2008R2 and data is stored as DATETIME2(7)). I just need to know that how can i get.. "1199145600000" for "1 Jan 2008 00:00:00 GMT" because if i use "1199145600000" i get the right date populated. Also i can only pass numbers no strings..if i try to pass something like "10/2/2011"..it just failed... [HTML] Syntax: time=<timeInstant> Example: time=1199145600000 (1 Jan 2008 00:00:00 GMT) [/HTML] here is the URL from where i got this example. http://sampleserver1.arcgisonline.com/ArcGIS/SDK/REST/fsquery.html
... View more
10-06-2011
01:29 PM
|
0
|
2
|
575
|
POST
|
I am trying to add data to ArcSDE (10.01 installed on MS SQL 2008R2) using arcgis server feature service layer. I am not using ESRI's APIs. I tried to add dates but its not working...Date in sql is of field type "datetime2(7)" which i can not change to other fields.. It only take numbers like "03102012" but in database it changes to a strange date.... any help in this regard...
... View more
10-05-2011
04:43 PM
|
0
|
1
|
660
|
POST
|
Hi, I've setup a query task that calls features from an ArcGIS Map Service and populates an mx datagrid with it's attributes. I'm trying to write code so that when a user selects an item in the data grid that it zooms to it in the map. Any suggestion about how I would go about this? Thanks! I assume that grid contain Lat/Long, ...on row select creat a mappoint and then call centerAt() function and set scale or level whatever is needed....here is API Reference [HTML]centerAt () method public function centerAt(mapPoint:MapPoint):void Recenters the map at the specified location. Parameters mapPoint:MapPoint �?? The point to center at.[/HTML] and Example... http://help.arcgis.com/en/webapi/flex/samples/index.html#/Geocode_an_address/01nq00000068000000
... View more
09-22-2011
02:27 PM
|
0
|
0
|
193
|
Title | Kudos | Posted |
---|---|---|
27 | 01-25-2013 10:51 AM | |
27 | 01-25-2013 10:51 AM | |
10 | 04-16-2010 01:00 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|