|
POST
|
How do I display a line feature service as geodesic lines in a JS 3.20 web map? It appears I need to use geodesicUtil which seems to need graphics as the input but I can't seem to get that function to accept the line feature service. The map in question is referenced below. Happy Trails to Canada
... View more
05-11-2017
01:22 PM
|
0
|
1
|
704
|
|
POST
|
We have a HTML based portal page that lists common corporate datasets using .lyr files that point towards the appropriate data source (SDE, REST services etc.) This works slick as users simply click on the layer they want and it gets added automatically to ArcGIS Desktop if it's open and if not opens it and then adds it. I can't seem to replicate that functionality with Pro?
... View more
03-31-2017
02:30 PM
|
2
|
6
|
5167
|
|
POST
|
I have an application built using ESRI's swipe template located here (http://maps.ducks.ca/smithcreekwatershed/ ) that works well enough. The issue I'm trying to resolve though is that when you have a legend enabled it pushes the swipe line right of center by the width of the legend. I have looked through the code and css looking for an option to change that but can't seem to locate it. Any help would be greatly appreciated.
... View more
07-22-2016
08:25 AM
|
0
|
0
|
650
|
|
POST
|
This is a feature that needs to added ASAP. It is ridiculous that we can't edit related tables in AGOL and the lack of this feature really puts us in a bind with regard to rolling out Collector to staff. We went ahead last year with a flat table with the promise that we'd convert to related tables for multi year inspections this winter but now that is in doubt.
... View more
01-04-2016
07:29 AM
|
5
|
4
|
1914
|
|
POST
|
This was my solution.... app.map.infoWindow.on("selection-change", function(e) { if (e.target.features) { query(".dijitTabContainer", this.domNode).forEach(function(node) { var tc = registry.getEnclosingWidget(node); if (tc) { tc.selectChild(tc.getChildren()[0]); tc.resize(); } }); } });
... View more
12-17-2014
08:48 AM
|
0
|
0
|
936
|
|
POST
|
Take a look at my demo site. I just the basemap toggle and then just applied CSS to override the defaults. Javascript var toggle = new BasemapToggle({ map: app.map, basemap: "hybrid" }, "BasemapToggle"); toggle.startup(); CSS #BasemapToggle { position: absolute; top: 20px; right: 20px; z-index: 50; } .BasemapToggle .basemapImage { height: 0; overflow: hidden; width: 0px; } .BasemapToggle .basemapTitle { width: 80px; } Project Map Viewer
... View more
12-11-2014
03:36 PM
|
0
|
0
|
884
|
|
POST
|
I am trying to get tabs working inside a Popup but it doesn't seem to be working. I can see that the tabs are being built using Firebug but they aren't visible. This is a test site I put up that you can view my code. Just click a polygon to see the popup. Eventually I'd like to have three tabs, two for field attributes and one for the attachments (if there are any). Project Map Viewer
... View more
12-11-2014
02:37 PM
|
0
|
2
|
3644
|
|
POST
|
I have an IdentifyTask that calls a popup and it works well enough. I have now enabled attachments that I'd like to expose in the popup but I'm not sure how to do that. The function I'm using looks like this... on(app.map, "click", function(evt) {
var it = new IdentifyTask("http://my map server/ESRI/MapServer");
ip = new IdentifyParameters();
ip.tolerance = 15;
ip.returnGeometry = false;
ip.layerIds = [0, 1, 3, 4, 5, 6];
ip.layerOption = esri.tasks.IdentifyParameters.LAYER_OPTION_ALL;
ip.width = app.map.width;
ip.height = app.map.height;
ip.geometry = evt.mapPoint;
ip.mapExtent = app.map.extent;
it.execute(ip, function(results) {
if (results.length > 0 && MeasureOn == "False") {
var features = arrayUtils.map(results, function(result) {
var feature = result.feature;
feature.attributes.layerName = result.layerName;
if ((result.layerId === 3) || (result.layerId === 4)) {
feature.setInfoTemplate(new InfoTemplate("${PJCT_NAME}", "<strong>Hyperlink:</strong> <a href=" + "'#'" + "onClick=openShadow(thisobj);"+">Project Service Station</a>"));
thisobj=feature.attributes.HYPERLINK;
}
else if ((result.layerId === 0) || (result.layerId === 1)) {
feature.setInfoTemplate(new InfoTemplate("${PJCT_NAME}", "<strong>PPSW-Key:</strong> ${PPSW_KEY}<br><strong>Works Type: </strong>${WORKS_TYPE}<br><strong>Works Condition: </strong>${WORKS_COND}<br><strong>Lasted Edited User: </strong>${LAST_EDITED_USER} "));
}
else if (result.layerId === 5) {
feature.setInfoTemplate(new InfoTemplate("${DUC_NAME}", "<strong>Project Name:</strong> ${NAME} <br><strong>Project Number:</strong> ${PJCT} <br><strong>Province:</strong> ${PROV} <br><strong>Waterfowl Wetland:</strong> ${WFOWL_WET}<br> <strong>Waterfowl Upland:</strong> ${WFOWL_UP}<br><strong>Supporting Wetland:</strong> ${SUPP_WET}<br><strong>Supporting Upland:</strong> ${SUPP_UP}<br><strong>Waterfowl Total:</strong> ${WFOWL_TTL}<br><strong>Total:</strong> ${TOTAL}"));
}
else if (result.layerId === 6) {
feature.setInfoTemplate(new InfoTemplate("", "<strong>Project:</strong> ${DUCPROJ} <br><strong>Project Name:</strong> ${PPROJ_NAME} <br><strong>PID:</strong> ${PID} <br><strong>PIN:</strong> ${PIN} <br><strong>Fee Simple:</strong> ${FEESIMPLE}<br> <strong>Agreement:</strong> ${AGREEMENTS}<br><strong>Lease:</strong> ${LEASE}<br><strong>Covenant:</strong> ${COVENANT}<br><strong>Area Secured:</strong> ${AREA_SECURED}<br>"));
}
return feature;
});
app.map.graphics.clear(); //Clear any residual graphics from the map.
app.map.infoWindow.setFeatures(features);
app.map.infoWindow.show(evt.mapPoint);
}else{
app.map.infoWindow.hide();
}//don't run if no results to process.
}, function(error) {
console.log(error);
});
... View more
05-20-2014
08:22 PM
|
0
|
0
|
543
|
|
POST
|
Is there a trick to getting the app to query against my feature layers vs the geocode server? Andrew
... View more
04-30-2014
12:23 PM
|
0
|
6
|
3035
|
|
POST
|
I was just able to take a map offline that used the topo map as the basemap. Granted it was a very small sample but it worked fine
... View more
04-04-2014
05:54 AM
|
0
|
0
|
442
|
|
POST
|
That would be a nice feature Mike. One work around that works is to download the area of interest as an offline map and then put your device into AirPlane mode so that it doesn't have the GPS to use geolocation when you open the offline map. That or just disable location services in the privacy settings and that will turn off the GPS/geolocation.
... View more
03-27-2014
08:20 AM
|
0
|
0
|
619
|
|
POST
|
Russ to follow up on your answer is it possible to create a tpk file using ArcGIS.com Image Service tiles from my desktop and side load those? I tried following the instructions on how to create local tpk files using your own local data and that works fine (albeit slowly) but it wouldn't let me build a local cache using ArcGIS Online basemaps. Can we only build those on devices? Andrew
... View more
03-27-2014
06:57 AM
|
0
|
0
|
1667
|
|
POST
|
My issue is that I need to pass over a map title and 6 map statistics so 7 variables in total and right now I only have 3 (author, copyright and title).
... View more
01-21-2014
10:34 AM
|
0
|
0
|
622
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 03-31-2017 02:30 PM | |
| 1 | 04-21-2016 11:44 AM | |
| 5 | 01-04-2016 07:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|