|
POST
|
I haven't messed with this stuff but have you seen this blog post which lays out the draw order within Vector Basemaps? The graphic in that post should help understand the draw order.
... View more
06-21-2016
11:37 AM
|
0
|
0
|
2047
|
|
POST
|
I would imagine that Rene Rubalcava would have some pertinent thoughts about since, especially since joining the JS API team at ESRI..
... View more
06-21-2016
08:30 AM
|
0
|
0
|
1043
|
|
POST
|
I think another option is modifying the default string used by the API. This link discusses that topic. If you follow the suggestion at the bottom of that page, you'll notice that there's a "basemaps" object and I think you'd be able to modify the label/string in there. Steve
... View more
06-17-2016
01:55 PM
|
0
|
0
|
2073
|
|
POST
|
I don't have any links handy but I thought you could export a scene from ArcGlobe/ArcScene into a cityEngine format file and then publish that as a 3D scene. That's my fuzzy recollection from last year's UC presentations.
... View more
06-16-2016
12:08 PM
|
0
|
1
|
2138
|
|
POST
|
All of the things you've listed are a great help for ESRI when they look at the issue brought forward. I believe the "official" method for raising bug issues is to submit it via ESRI's request for support. IMO, the downside to this current system is that you must be the "official" contact designated with ESRI in order to submit that issue. I work for a county and I'm not the designated contact so I had to have someone else initiate the bug submittal and then list me as the contact. In my example, ESRI followed up fairly quickly with someone on the dev team to look into the issue I thought might be a bug.
... View more
06-14-2016
12:04 PM
|
1
|
0
|
3575
|
|
POST
|
Welcome to ESRI design school. ArcGIS has been full of garbage UI layouts like you pointed out since 8.x and they are unwilling/incapable of improving it. And, yes, ArcGIS Pro will (eventually) replace Arcmap. It's their world, we just live in it.
... View more
06-10-2016
01:54 PM
|
0
|
0
|
1425
|
|
POST
|
The flip side is that you could store the "original" featureCollection in a variable. Now loop through that collection, looking for features that match your desired condition. If they match, add them to another feature collection (this, essentially, is your definition expression "collection"). Once the loop is finished, update the featuireLayer's featureCollection with the second set. If you ever need to reset, you have the original stored in a variable so it's easy to just update that property once again. Performance may be a factor depending on the number of records we're talking about. Steve
... View more
06-07-2016
07:56 AM
|
1
|
5
|
2923
|
|
IDEA
|
Yes, please. I would model it after the way Vimeo implements this feature. Vimeo provides a "base" URL and then you add your custom part after it.
... View more
06-06-2016
11:04 AM
|
0
|
0
|
854
|
|
IDEA
|
Yes, please. I would model it after the way Vimeo implements this feature. Vimeo provides a "base" URL and then you add your custom part after it.
... View more
06-06-2016
11:04 AM
|
0
|
0
|
604
|
|
POST
|
According to the What's new document... Version 4.0 of the ArcGIS API for JavaScript uses Dojo 1.10.4, dgrid version 1.0.0, and dstore version 1.1.1. So I would assume that you can still use any Dojo objects present in 1.10.4. As for other options (React, NodeJS, etc), I would hope that there will be some presentations at the ESRI UC next month that would illustrate some of that. Rene Rubalcava is definitely the man when it comes to incorporating other libraries with the JS API so he might be able to offer some input. Steve
... View more
05-27-2016
03:35 PM
|
0
|
1
|
2966
|
|
POST
|
If you already have a solution based on 3.16, I would stay with this version. I see no good reason to jump up to 4.0 considering the sheer number of missing items and functionality. I can assure you that ESRI will not be pushing out this feature within the next month. The User Conference is in one month so the company's internal focus will be on that.
... View more
05-26-2016
09:44 AM
|
1
|
1
|
2024
|
|
POST
|
Yes, I think your understanding is correct. I am trying to add x,y coordinates into the content within an infoWindow for point, line, and polygon layers. The coordinates would be for the location that the user initially clicked. Some example code: var bridgeTemplate = new InfoTemplate();
bridgeTemplate.setContent(formatBridgeContent);
bridgeTemplate.setTitle("County Bridges");
bridgeLayer.setInfoTemplate(bridgeTemplate);
function formatBridgeContent(graphic) {
attrib = graphic.attributes;
latLongGeom = webMercatorUtils.webMercatorToGeographic(graphic.geometry);
u = new USNG2();
var theLatLong = [];
theLatLong["lon"] = latLongGeom.x;
theLatLong["lat"] = latLongGeom.y;
var theUSNG = u.fromLonLat(theLatLong,5).toString();
content = "<table><tr><td style=\"font-weight:bold;text-align:left\">Name:</td><td>" + attrib["GIS_FEATURES.GDBA.transportation_bridges.BRIDGE_NM"] + "</td></tr>";
content = content + '<tr><td valign=\'top\' style=\"font-weight:bold;padding-left:3px;padding-right:3px;vertical-align:top\">Facility Carried:</td><td valign=\'top\' style=\"padding-left:3px;padding-right:3px;vertical-align:top\">' + attrib["GIS_FEATURES.GDBA.transportation_bridges.FAC_CARRI"] + '</td></tr>';
content = content + '<tr><td valign=\'top\' style=\"font-weight:bold;padding-left:3px;padding-right:3px;vertical-align:top\">Location:</td><td valign=\'top\' style=\"padding-left:3px;padding-right:3px;vertical-align:top\">' + attrib["GIS_FEATURES.GDBA.transportation_bridges.LOCATION"] + '</td></tr>';
content = content + "<tr><td style=\"font-weight:bold;text-align:left\">Seismic Risk:</td><td>" + attrib["snoco_bridge_seismic_risk.seismcRisk"] + "</td></tr>";
content = content + "<tr><td style=\"font-weight:bold;text-align:left\">Bridge Number:</td><td>" + attrib["GIS_FEATURES.GDBA.transportation_bridges.BRIDGE_ID"] + "</td></tr>";
content = content + "<tr><td> </td><td> </td></tr>";
content = content + "<tr><td style=\"font-weight:bold;text-align:left\">Latitude/Longitude:</td><td>" + latLongGeom.y.toFixed(5) + ", " + latLongGeom.x.toFixed(5) + "</td></tr>";
content = content + "<tr><td style=\"font-weight:bold;text-align:left\">US National Grid:</td><td>" + theUSNG + "</td></tr></table>";
return content;
} USNG2 is a javascript library I found which converts lat/long coordinates to U.S. National Grid Coordinates. Here's a screenshot of what this looks like:
... View more
05-20-2016
11:11 AM
|
0
|
0
|
1164
|
|
POST
|
I've run into a situation and I'm not sure I can do what I want. I'm using formatting functions for my infoWindow content and, as part of that content, I'm including spatial coordinates (lat/long & US National Grid). If the feature clicked is a point, all is well. If the feature is a line or a polygon, things get harder because the geometry of the graphic isn't where the user actually clicked. Is there any way, from within a formatting function, to go back up the chain of events to get the map click location? I tried setting a map.on("click", function(evt) {}) to store the map click position in a global variable but that's occuring AFTER I get to the content formatting function. I'm not seeing a way to backtrack via the graphic sent to the function but I thought I'd ask. Steve
... View more
05-20-2016
10:28 AM
|
0
|
2
|
2869
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 7 hours ago | |
| 1 | yesterday | |
| 1 | a week ago | |
| 2 | a week ago | |
| 1 | 2 weeks ago |