10,435 reputation
12449
bio website swingley.appspot.com
location San Diego, CA
age 32
visits member for 4 years
seen 8 hours ago

@derekswingley

Product engineer working mainly on the ArcGIS API for JavaScript at Esri. Opinions are my own.


Jul
10
comment ArcGIS javascript API - draw circle of a specified radius in meters
@20Cents use this: developers.arcgis.com/javascript/jssamples/… which was recently added to the API, no need to build circles by hand anymore
Apr
10
comment What is difference between Map event onExtentChange and Map.extent property?
@Aqua267 please mark weaverk's answer as the answer to this thread.
Feb
13
comment InfoWindow vs. Popup
OP tagged this as a JS API question, not flex so I don't think your answer is appropriate.
Feb
12
comment Force an ArcGIS API for JavaScript WMSLayer to use EPSG: 900913 (instead of 102100)
This is a nice anecdote, but it isn't a useful answer.
Feb
3
comment ArcGIS JavaScript API Auto Panning to Cursor Position
You're welcome. My example uses the API's map.panXXX() methods, which are hardcoded to pan a specific distance. To have more control, you could calculate and use extents to do the panning.
Jan
28
comment using WebTiledLayer function
@user1634292 yes, you specify the spatial reference for your tiles when you create them. How you do this varies on the tool(s) you're using.
Jan
28
comment ArcGIS JavaScript API Auto Panning to Cursor Position
You could do this with a mouse move event listener but it would be easy to implement poorly. By default, you click and drag to pan (or use two-finger drag on macs with a trackpad). Have you disabled this in your app?
Jan
22
comment Seeking ArcGISTiledMapServiceLayer Sample
@user1634292 TiledMapServiceLayer is the parent class of ArcGISTiledMapServiceLayer. If you're using tiled arcgis server services, use ArcGISTiledMapServiceLayer. TiledMapServiceLayer is also the parent class for a few other classes in the API: WMTSLayer, OpenStreetMapLayer, WebTiledLayer.
Jan
15
comment change font size of elements in dropdown menu store
@JasonBK not that I know of
Jan
14
comment change font size of elements in dropdown menu store
You're welcome! Glad I could help.
Jan
14
comment change font size of elements in dropdown menu store
What I posted works with 3.4, and using a memory store instead of itemfilereadstore shouldn't make a difference. Are you including the CSS I posted after you include the dojo theme style sheet (like tundra.css or claro.css) and the esri.css stylesheet?
Jan
4
comment add marker to map from list of coordinates
@user1634292 we updated all of our API ref docs to not use the ellipses in the code snippets showing how to load each module.
Dec
13
comment Accessing the esri js api over ssl
If you could isolate the code causing the problem and post it we could get to a definite conclusion. As long as you access your proxy over https, it doesn't matter what the proxy is on the server.
Dec
13
comment FeatureLayer infowindow position appears on wrong location
Please post your JS. The solution probably involves creating your map after the dojo parser creates your layout widgets or calling map.resize() and/or map.reposition() after your layout widgets are created.
Dec
13
comment Accessing the esri js api over ssl
Since you mentioned fiddler I'm guessing you're using IE? Can you post code that reproduces what you're seeing? We've had bugs in the past where we mistakenly loaded resources over http but those should all be fixed at 3.7.
Dec
10
comment ArcGIS JSAPI Toggle Identify (AMD style)
@Ann glad to help, all samples linked from the sidebar here developers.arcgis.com/en/javascript/jssamples should be AMD. We also did a blog post on migrating to AMD which you should read: blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd
Dec
9
comment How to improve performance in ArcGIS Javascript API?
It sounds like your dynamic map service is very slow, which makes your JS API app feel slow. The solution will be to speed up your map service. Do you know how monitor how long your dynamic map takes to draw? You can do this with ArcGIS Server's services directory and your browser's dev tools– you want to see how long it takes for your map service to return an image to the client (the browser).
Dec
7
comment add marker to map from list of coordinates
@user1634292 thanks for elaborating, that's good feedback, I'll see what we can do.
Dec
6
comment add marker to map from list of coordinates
@user1634292 glad I could help. Regarding "...", where are you seeing that? In the API reference pages?
Nov
22
comment How to create working Hyperlinks in OnDemandGrid Cells
Glad I could help!