|
POST
|
This question is for flexviewer. Does anyone has any idea how to overlay a polyline graphic over a segment of a single-part line feature using the beginning and ending set of coords? Ultimately, the url parameters would provide the beginning and ending sets of coords and line id. Based on the parameters, the polyline graphic will displayed over the requested line segment/ Thanks.
... View more
09-18-2013
10:42 AM
|
0
|
0
|
782
|
|
POST
|
We do not have plans to add a "layer list" or "table of contents" widget to manage map layers and sublayers. We've resisted adding this to the API because we don't want to encourage building generic, kitchen sink style viewers. I realize that we (Esri) do not have a consistent story on this as we still provide generic viewers for other platforms/technologies. We're open to discussing it further, but I personally agree with anti-viewer, anti-portal sentiments that some have expressed online for the past couple of years (most recent example). Totally disagree with this assessment. For GIS professionals who come from different areas of expertise but they use the same map, TOC would assist to provide an organizational structure. The layers for the specific are will turned on and the rest off. Checkboxes will provide the option to turn other layers on as needed.
... View more
09-10-2013
11:08 AM
|
0
|
0
|
3362
|
|
POST
|
The basic web template from ArcGIS.com has a setting in the index.html to turn on/off the layerlist ( displaylayerlist: true,) By default is on. However the map shows only the legend. In the layout.js , if the displaylayerlist: true then it should: //Create a menu with a list of operational layers. Each menu item contains a check box //that allows users to toggle layer visibility. according to the comments posted in the file. However it does not. Is it a bug? Thank you.
... View more
09-05-2013
03:47 PM
|
0
|
0
|
710
|
|
POST
|
A much nicer approach, Thanks Jose I got stuck in a rut a sticking to an old style of a previous project and building on to it. I had come across TOC a few times and was stubborn to implement it. Thanks for the nudge. It would still be nice to know if it is possible to set the checkboxes and initial visibility of layers in the method I posted, for future referenece Cheers ~ Rory I use 10.1 and 3.6 api and this TOC gives me a blank map. Let me know if you have a similar setting and it works for you. Thank you.
... View more
09-05-2013
03:41 PM
|
0
|
0
|
1117
|
|
POST
|
Guys, I will be releasing a 3.4 version (hopefully in a week or two) of the widget that has full application builder integration (this means I can eliminate user xml configuration errors). All I can say is you have an issue in your configuration of the widget as I don't have any issue getting it to work. Thank you Robert, but I don't think it is a xml issue. I already posted the xml for the widget and for the main config (under a similar forum post) and there was nothing wrong with them. I will look into other possible reasons.
... View more
07-03-2013
08:10 AM
|
0
|
0
|
3647
|
|
POST
|
Mike, I just started a brand new compiled site on my IIS and copied over the 3.3.2 compiled Identify Widget over to it and and it worked fine.... I have the same problem only when I use onlythese="true"
... View more
07-02-2013
04:01 PM
|
0
|
0
|
3647
|
|
POST
|
Well, tried to give it a test, but I can't get past the sandbox security..... R_ Can you elaborate? What is sandbox security... This is a public website....
... View more
06-25-2013
06:20 AM
|
0
|
0
|
1259
|
|
POST
|
Lefteris, You have me at a loss as to why I can take what you have and get it to work but you can not. Maybe you should post your whole main config.xml and IdentifyWidget.xml. Also please tell me which version of the Viewer you are using as well as what version of my widget (to find this hold the alt key and click the widget title). widget is 3.3.2 and flexviewer 3.3. Attached at the files as you requested. Thank you for taking the time to figure this bizare incident.
... View more
06-24-2013
08:02 AM
|
0
|
0
|
1259
|
|
POST
|
Lefteris, We have been through this allready... http://forums.arcgis.com/threads/80928-identify-widget?p=285169#post285169 ok. But I have no resolution. The layer is visible. From the config.xml file: <layer label="Agencies" type="dynamic" visible="true" url="http://svctenvims.dot.ca.gov/dea_web_gis/rest/services/agencies/agencies/MapServer/">
... View more
06-22-2013
10:58 AM
|
0
|
0
|
1259
|
|
POST
|
When I set the property true for the onlythese in the layer tag, I get the results of all layers regardless. Also the weblink is not available as a link. Any ideas? Thanks. <layers onlythese="true"> <layer> <name>MPO</name> <id>0</id> <url>http://xxxxx/rest/services/agencies/agencies/MapServer</url> <fields> <field name="NAME" alias="Name: "/> <field name="LABEL" alias="Label: "/> <field name="STREET" alias="Street: "/> <field name="CITY_ZIP" alias="City and Zip: "/> <field name="WEBURL" alias="Website: "/> </fields> <links> <link includeinresults="false" field="WEBURL" alias="View Website" tooltip="Click to View Website"> <linkprefix/> <linksuffix/> <iconfield/> <iconprefix/> <iconsuffix/> </link> </links> <zoomscale>15000</zoomscale> <forcescale>true</forcescale> </layer>
... View more
06-21-2013
03:58 PM
|
0
|
7
|
1411
|
|
POST
|
Lefteris, I am not sure if there is question in your last post or not...? Sorry for confusion....I was just throwing my thoughts out about overlay over a section of a line without the need of multiple points to establish the path of the overlay over the line. For example, if you need to overlay a section of a road to show the project limits, how can you do it other than inserting multiple points along the section? I don't think there is anything out there yet...
... View more
06-05-2013
08:18 AM
|
0
|
0
|
1747
|
|
POST
|
In that case, it looks like Robert has put you on the right track. R_ Yes. Thank you.
... View more
06-05-2013
08:06 AM
|
0
|
0
|
1747
|
|
POST
|
Lefteris, Drawing a line programatically is quite simple you just create an array of points and add them to a polylines path.
var pA:Array;
pA = [];
//just some loop to add all your XYs for your lines points
for (m=0; m<gArrObj.length; m++){
pA.push(new MapPoint(X,Y,new SpatialReference(102100)));
}
var pLine:Polyline = new Polyline(null,new SpatialReference(102100));
pLine.addPath(pA);
var gra:Graphic = new Graphic(pLine);
graphicsLayer.add(gra); Thank you Robert. Very similar to the google javascript code. A challenging task is to overlay a section of a line from a line layer and following its path. Other than inserting multiple points on the line I don't see any other way to be done.
... View more
06-05-2013
07:56 AM
|
0
|
0
|
1747
|
|
POST
|
the hurricane map looks like it is consuming a feed with the track data so the line is pre-rendered. Are you looking for a way to make a service that updates itself when the points of the line change (like from an event theme) or actually having someone enter two coordinates in the flexviewer, and having it draw the line? R_ Thanks for the reply. The second case, to enter two coordinates in the flexviewer, and having it draw the line.
... View more
06-05-2013
07:30 AM
|
0
|
0
|
1747
|
|
POST
|
Similar to the polylines that google overlays on their map, I am looking for a similar functionality to draw a line on a map based on predefined sets of coordinates. The app for the hurricanes provides this functionality at http://www.arcgis.com/home/webmap/viewer.html?webmap=2f5a28f82f4d41ec8dbe6cf96375a970. Any ideas?
... View more
06-04-2013
02:54 PM
|
0
|
8
|
4147
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | a week ago | |
| 1 | 06-19-2025 10:13 PM | |
| 3 | 02-06-2026 10:44 AM | |
| 1 | 01-08-2026 12:50 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|