|
POST
|
Jon Ugggggg....I completely missed that....single-quote (') vs double quote (")....chalk that up to stupidity and not checking my debugger. I thank you for the extra set of eyes, your patience, and thoughts... Cheers
... View more
06-02-2014
04:23 AM
|
0
|
0
|
965
|
|
POST
|
Does ESRI offer up icon images? Can these be downloaded? Like the ones in their examples....Is there a one stop shop to get them?
... View more
05-30-2014
11:30 AM
|
0
|
3
|
1144
|
|
POST
|
I see where you are going with that...but all three layers could be being displayed at the same time. not one or the other as I think you are proposing... right now the app opens and the three layers a displayed. I can turn them on and off individually with the check box. But as stated above they might all be on... That make sense?....I can create a JSFiddle is necessary
... View more
05-30-2014
10:40 AM
|
0
|
0
|
1307
|
|
POST
|
I was able to look at your check box example and get working with my Map Service....thanks I have one more question....Because I am referencing multiple Features in the Map Service at ONE time how do I define the multiple infoTemplates to be used in an identify? I was using this on single Map Services
var templateBirdingTrailHeads = new InfoTemplate();
templateBirdingTrailHeads.setTitle("Birding Trail Heads");
templateBirdingTrailHeads.setContent("<table><tr><td><b>Loop Name</b></td><td>${LOOP_NAME}</td></tr></table>" +
"<table><tr><td><b>Site Name</b></td><td>${SITE_NAME}</td></tr></table> " +
"<table><tr><td><b>Pahse</b></td><td>${Phase}</td></tr></table> "
);
var flBirdingTrailHeads = new FeatureLayer("https://fwisweb1.gov/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer/0", {
mode: FeatureLayer.MODE_ONDEMAND,
infoTemplate: templateBirdingTrailHeads,
outFields: ['*']
});
app.map.addLayer(flBirdingTrailHeads);
But now I have all the Features in the one Map Service
var layer1 = new ArcGISDynamicMapServiceLayer("https://fwisweb1.gov/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer", { id: "layer1" });
app.map.addLayers([layer1]);
... View more
05-30-2014
08:17 AM
|
0
|
0
|
1307
|
|
POST
|
I am looking at the example above...I removed the examples REST Endpoint and replaced with mine and it no longer works.... Confused... Anyone have any thoughts....replaced with this.
layer = new ArcGISDynamicMapServiceLayer("https://fwisweb1.dgif.virginia.gov/arcgis/rest/services/Public/BirdingWildlifeTrail/MapServer",
{"imageParameters": imageParameters});
map.addLayer(layer);
... View more
05-30-2014
08:00 AM
|
0
|
0
|
1307
|
|
POST
|
think I found it here. https://developers.arcgis.com/javascript/jssamples/map_explicitlayerlist.html
... View more
05-30-2014
06:55 AM
|
0
|
0
|
1307
|
|
POST
|
Looking through the online Samples for ArcGIS JavaScript API for examples and documentation for turning on and off Map/Feature services I have in my application Anyone help point me in the right direction. Thanks
... View more
05-30-2014
06:45 AM
|
0
|
13
|
2457
|
|
POST
|
I was able to do the below but not finding a way to specify the width of TD This looks better as it does create two columns but I am after each column being the same width to clean it up a bit more I tried in a Class="" in CSS..... I tried Style="Width=50px;" right on the TD...... Id does not like when I try and define an ID or Class on the TD Cant seem to find a solution to this in the link you posted above. Thoughts?
var templateWarbler = new InfoTemplate();
templateWarbler.setTitle("Warblers");
templateWarbler.setContent(
"<table><tr><td><b>Species</b></td><td>${Species}</td></tr></table>" +
"<table><tr><td><b>Location</b></td><td>${LocDescrip}</td></tr></table> <br/>" +
"<table><tr><td><b>Year</b></td><td>${Year}</td></tr></table> <br/>" +
"<table><tr><td><b>Date</b></td><td>${Date}</td></tr></table> <br/>"
);
... View more
05-29-2014
12:27 PM
|
0
|
0
|
965
|
|
POST
|
I scoured that section....looking for any example that tried to format columns and found nothing...I am going to go back and try again....I was trying something like this but it did not work
td{
width:150px;
height:20px;
max-width:150px;
min-width:150px;
max-height:20px;
min-height:20px;
**overflow:hidden;** /*(Optional)This might be useful for some overflow contents*/
}
var templateWarbler = new InfoTemplate();
templateWarbler.setTitle("${Species}");
templateWarbler.setContent("<b>Species</b> <tr><td>${Species}</td><td>two</td></tr> <br/>" +
"<b>Year</b>......... ${Year}<br/>"
);
... View more
05-29-2014
12:00 PM
|
0
|
0
|
965
|
|
POST
|
sure it is but not sure how to modify what I have and then control with CSS
... View more
05-29-2014
10:59 AM
|
0
|
0
|
965
|
|
POST
|
Is there a way to create some separation between label and value in a template? I can put "...." in there but it does not look very pleasing to the eye. For instance my label character lengths vary....so some sort of indent to get all the rows to line up? What I would like is ... but without the multiple underscores... Label Value Label Value there is more there __________continuing on the next line Label some more values var templateWarbler = new InfoTemplate(); templateWarbler.setTitle("${Species}"); templateWarbler.setContent ("<b>Species</b>...... ${Species}<br/>" + "<b>Year</b>......... ${Year}<br/>" + "<b>Date</b>......... ${Date}<br/>" + "<b>Observer</b>... ${Observer}<br/>" + "<b>Count</b>....... ${Count_}<br/>" + "<b>Bio Info</b>..... ${Bio_info}<br/>" + "<b>Habitat</b>........ ${Habitat}<br/>" + "<b>Elev ft</b>........ ${Elev_ft}<br/>" + "<b>Location</b>..... ${LocDescrip}<br/>" + "<b>DataSource</b>. ${DataSource}<br/>" + "<b>Coord</b>.......... ${Lat}<br/>" );
... View more
05-29-2014
09:35 AM
|
0
|
7
|
1354
|
|
POST
|
Tim Witt & Ken Buja Thanks....it was a mixture of issues...I had the code below to start with but as Tim pointed out the addLayer was not pointing to the correct Var.... GOOD TO GO.....appreciated thanks
// Warbler 0
var flWarbler0 = new FeatureLayer("https://fwisweb1.gov/arcgis/rest/services/Warbler_Map/Warbler_Map/MapServer/0", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ['*']
});
// Warbler 1
var flWarbler1 = new FeatureLayer("https://fwisweb1.gov/arcgis/rest/services/Warbler_Map/Warbler_Map/MapServer/1", {
mode: FeatureLayer.MODE_ONDEMAND,
outFields: ['*']
});
app.map.addLayer(flWarbler0);
app.map.addLayer(flWarbler1);
... View more
05-29-2014
09:07 AM
|
0
|
0
|
523
|
|
POST
|
Trying to add map service layer and not working...thoughts? Syntax? Maybe because I am using FeatureLayer? Using Server 10.1 Note: Changed the Rest End point URL for this example // Warbler 1 var flWarbler1 = new ArcGISDynamicMapServiceLayer("https://fwisweb1.gov/arcgis/rest/services/Warbler_Map/Warbler_Map_Readonly/MapServer/0", { mode: FeatureLayer.MODE_ONDEMAND, outFields: ['*'] }); // Warbler 2 var flWarbler2 = new ArcGISDynamicMapServiceLayer("https://fwisweb1.gov/arcgis/rest/services/Warbler_Map/Warbler_Map_Readonly/MapServer/1", { mode: FeatureLayer.MODE_ONDEMAND, outFields: ['*'] }); app.map.addLayer(flWarbler0); app.map.addLayer(flWarbler1);
... View more
05-29-2014
06:57 AM
|
0
|
3
|
927
|
|
POST
|
I think I found it here: http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=widget_mobilepopup But curious...Say I wanted to run a query based off of a user click in the map. Buffer and return Features that are within that buffer....and return results to this popup.... Say I had a grid that I wanted to be inside the popup and return multiple rows of data? Can this be done? Thoughts? THanks
... View more
05-14-2014
12:41 PM
|
0
|
0
|
302
|
|
POST
|
I remember seeing a JS example where there was an identify and it pushed to map off to the left and displayed the data. You can then close that pane and return to the map. Anyone point me in the direction of that example ....cant seem to find it anymore
... View more
05-14-2014
12:15 PM
|
0
|
1
|
1692
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-20-2018 11:09 AM | |
| 1 | 09-10-2018 06:26 AM | |
| 1 | 09-15-2022 11:02 AM | |
| 1 | 05-21-2021 07:35 AM | |
| 1 | 08-09-2022 12:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
09-19-2022
09:23 PM
|