10,465 reputation
12450
bio website swingley.appspot.com
location San Diego, CA
age 32
visits member for 4 years, 1 month
seen 3 hours ago

@derekswingley

Web developer.


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
Oct
14
comment How to Use Custom Basemaps with BasemapToggle widget?
@D.E.Wright updated to show an example of how to customize the widget to use custom maps
Oct
14
revised How to Use Custom Basemaps with BasemapToggle widget?
provided example of how to customize the maps used in the basemap toggle widget
Oct
11
answered How to Use Custom Basemaps with BasemapToggle widget?
Oct
11
comment How customize GeoRSS icon in ArcGis JS API?
Please take a look at the info on accepting answers here: meta.gis.stackexchange.com/a/763/124
Oct
11
awarded  Informed
Oct
10
answered How customize GeoRSS icon in ArcGis JS API?
Oct
9
comment How to replace the legacy function “doQueries ” to AMD ESRI Javascript format?
@Wika glad I could help
Oct
8
comment How to replace the legacy function “doQueries ” to AMD ESRI Javascript format?
@Wika are you running the code I posted? My code using "esri/tasks/query" is not a typo– the module name for the Query class uses a lower-case "q" so make sure your require() dependency list uses "esri/tasks/query".
Oct
8
comment Cache TIled Services
You're saying you added a feature layer and then things got slow? You should be looking at improving the performance of your feature layer rather than your cached service. Take a look at the feature layer best practices doc: developers.arcgis.com/en/javascript/jshelp/… It would also be helpful to know the version of the API you're using and to see the code you're using to add your feature layer to your map.
Oct
8
answered How to replace the legacy function “doQueries ” to AMD ESRI Javascript format?
Oct
7
answered Extent Intersection when WrapAround180 enabled
Oct
7
comment Extent Intersection when WrapAround180 enabled
Can you post the code you're using to do this? I'm curious to see exactly what you're doing.
Oct
7
answered GeoRSS reprojection