Reputation
11,504
Next privilege 15,000 Rep.
Protect questions
Badges
1 28 54
Newest
 Yearling
Impact
~421k people reached

Jun
10
comment Leaflet control to display scale in native/declared CRS (i.e. degrees)
What you're asking for will likely mislead and confuse people. I say that because the size of a degree varies based on where you are on the globe. A degree of longitude at the equator is much larger than a degree of longitude farther North, in Norway for instance.
Jun
9
comment Leaflet control to display scale in native/declared CRS (i.e. degrees)
Are you saying you want to show a scale bar that tells someone something like "1 inch equals 0.5 degrees"? I can't recall ever seeing a scale bar that uses an angular unit, probably because a) people are not good at knowing how far a degree or fraction of a degree is (myself included) and b) you're map is flat so linear units are appropriate, not angular units.
Feb
10
comment Loading Simple ESRI html JavaScript in Internet Explorer 11?
That markup and code works without issue for me in IE11. Are you using a web server to serve your page? Read the first paragraph here: developers.arcgis.com/javascript/jsapi/api_devenv.html
Feb
9
comment D3 missing zoom Choropleth + Raster
@Klaujesi you're welcome, glad I could help
Feb
9
comment D3 missing zoom Choropleth + Raster
@BelowtheRadar with all due respect, those suggestions are not helpful. OP's issue does not have anything to do with having valid markup, script tags are not required to go in a page's head and you do not need to always put svg elements inside divs.
Jan
31
comment Define a circle extent using the circle tool - arcgis javascript api
Everything in esri/units maps to a string, so instead of the extra code, you could use the string directly. For miles, it's "esriMiles". The rest are: i.imgur.com/wCM71id.png
Jan
20
comment graphics all change to same color when map zooms in or out
Please post your code. My guess is that you're re-using the same symbol object for all graphics. Once the map re-draws graphics (after you pan or zoom) all get drawn using the last symbol properties your app set since all graphics reference the same symbol.
Dec
18
comment Tabs in ESRI Popup
@AndrewPratt you're welcome, glad I could help!
Dec
16
comment Access geojson from github in leaflet
This isn't necessary. Github supports CORS so you can do a GET to grab the geojson with something like jQuery's getJSON() or a micro-lib like corslite.
Nov
20
comment Is the ArcGIS Server JavaScript API free to use?
@ca0v I no longer work for esri but I don't think any of this has changed. The link from my edit is what you should use to determine if you need to pay or not: developers.arcgis.com/en/terms
Nov
17
comment How to set scale range for a Graphic Layer in ArcGIS API
@abhinavgoyal02 it's possible, but that's not something you should need to do. If you really need to do that, you should write up a new question with a detailed use case and explanation of why you need to change graphics sizes on the fly and post it.
Nov
5
comment Permanently reorder fields in data (shp, gdb)
@joebob no. AFAIK, ogr doesn't support datasets from SDE GDBs and it doesn't support domains either.
Aug
30
comment How to remove popup window from KML layer in ArcGIS API for JavaScript?
@MukeshNandedaDhakad you're welcome, glad I could help.
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?