10,700 reputation
12452
bio website goswingset.com
location San Diego, CA
age 32
visits member for 4 years, 4 months
seen 21 hours ago

@derekswingley

Web developer and consultant for hire.


Dec
2
answered How to open InfoTemplate programmatically?
Nov
29
awarded  Announcer
Nov
22
comment How to create working Hyperlinks in OnDemandGrid Cells
Glad I could help!
Nov
20
awarded  Enlightened
Nov
20
awarded  Nice Answer
Nov
20
answered How to create working Hyperlinks in OnDemandGrid Cells
Nov
16
awarded  Enlightened
Nov
16
awarded  Nice Answer
Nov
6
comment How to flash a graphic in JSAPI using AMD
Probably better to use a gist if you only need to share code: gist.github.com/swingley/f4d98920bcc221b929b0 You're loading Esri and Dojo modules using require (lines 6-31) but you use globals throughout your code, see lines 54-63 where you use esri.* and dojo.*. You can technically mix AMD and legacy but it's bad form and adds unneeded complexity. Plus your code will break when the legacy stuff goes away and AMD is the only option. Are you able to post a full example rather than just your JS? A full page is much easier to debug than just JS.
Nov
5
answered How to flash a graphic in JSAPI using AMD
Nov
5
revised How to flash a graphic in JSAPI using AMD
removed arcobjects and arcgis server 10.2 tags since neither apply to this question
Oct
28
awarded  Nice Answer
Oct
24
answered Redraw info window after centering map on click (ESRI Javascript API)
Oct
19
awarded  javascript
Oct
18
answered Why should I use the AMD style deceleration in ArcGIS JS API?
Oct
16
comment How to Use Custom Basemaps with BasemapToggle widget?
try this: jsbin.com/iFakeLa/5
Oct
16
comment How to Use Custom Basemaps with BasemapToggle widget?
edit your question to include your code or the URLs for the services you want to use? Maybe I can sort it out for you.
Oct
16
comment How to Use Custom Basemaps with BasemapToggle widget?
Adding a comment here so you can check out my edited answer below showing how to use a custom basemap with the basemap toggle.
Oct
14
comment Custom ArcGIS GraphicsLayer (JavaScript)
"this project requires the use of GraphicsLayers because I need to be able to toggle the visibility of layers" – both feature layers and graphics layers have show() and hide() methods that you can use to toggle visibility. You're mixing AMD and legacy global references throughout your code which doesn't make things any easier. Please break this down in to a simpler case. For instance, can you retrieve data from your server and put it on a map without creating a module?
Oct
14
revised Custom ArcGIS GraphicsLayer (JavaScript)
re-formatted first code sample