POST
|
Ian, Are you trying to create the domNode on the button click or just populate it? I use a button click to populate/remove content from an info widow using a domStyle toggle. To toggle Off: domStyle.set(query(".actionList > .action.sForm", window.map.infoWindow.domNode)[0], "display", "none"); To toggle On: domStyle.set(query(".actionList > .action.sForm", window.map.infoWindow.domNode)[0], "display", ""); Don't know if that helps any.
... View more
04-28-2016
10:04 AM
|
0
|
0
|
15
|
POST
|
Is there a way to make a field active by default so that any field click would be the the second field ?
... View more
11-12-2015
06:28 AM
|
0
|
0
|
59
|
POST
|
Do the graphics/points acquire a geometry after the zoom in/out event? I had some issue with this a year ago where a map click would query the x,y>create a graphic(invisible)>create a new feature in a feature layer>then applyEdits from the graphic geometry to the newly created feature. I noticed that the mouse location on a pan would update the graphic x,y before the apply edits took effect. Interesting how your points jump to the corner when the extent changes. Any updates on your progress?
... View more
10-29-2015
08:35 AM
|
0
|
1
|
18
|
POST
|
Using the example from Popup with related fields | ArcGIS API for JavaScript I was able to achieve 1 to 1 popups with related information(customer information). I would like to be able to also use this to display multiple records(multiple work orders). Is there any way to achieve this from the popup template? Thanks
... View more
10-29-2015
08:21 AM
|
0
|
0
|
1459
|
POST
|
I think you will have to load both feature services, regardless of whether or not you use a relate. It just depends which way you might want go-- relationship query or select a point and query with the selected point attribute. I'm actually updating my app to use the select and query option for an actual map rather than my previous map-less ui. I'll let you know when I hit paydirt.
... View more
09-01-2015
12:55 PM
|
1
|
0
|
54
|
POST
|
This is exactly it. Mathew, are you sure you still need a relationship? It seems this queryTask might be easier to return your array.
... View more
08-28-2015
04:48 AM
|
0
|
2
|
54
|
POST
|
Robert, I should be more specific. We are trying to have a feature on a map that the user can click on, after it is clicked the selected feature attribute is stored as a variable. This variable would then be used in a query to create an array of a Dojo chart(We got this part handled.) Popup | ArcGIS API for JavaScript For example, this popup example accesses attribute information, but the code doesn't show any click/selection code. I assume that there is a way to setFeatures, feature.attributes or access a feature index somehow. Not sure how.
... View more
08-27-2015
08:59 AM
|
1
|
6
|
54
|
POST
|
This is a continuation from a few other threads-Re: Combine line and point feature classes attributes How to query features and populate a line graph in bottom pane with analysis We are trying to figure out how to access a feature attribute from a "simple click". In the past I was accessing a feature attribute by assigning it a variable, ex. hydrantRecord = evt.graphic.attributes.HydrantID . I did this after a selection was made with the attribute inspector and before it went to a series of relationship queries. So the question is, what is the simplest way to access a feature attribute and assign it to a variable without popups or info windows? Thanks.
... View more
08-27-2015
07:55 AM
|
0
|
8
|
3006
|
Online Status |
Offline
|
Date Last Visited |
11-12-2020
01:05 PM
|