Select to view content in your preferred language

ArcGIS JavaScript API and json

4391
1
07-30-2014 08:39 AM
ChristopherJohnson1
Frequent Contributor

Good morning.  I am trying to create a Choropleth map, based on json data returned from a SQL Server query.

 

How do I use the JavaScript API to display that data on a map, creating a Choropleth map?  Are there any such tutorials/links?  All of the tutorials show connecting to a feature service.

 

Your expedient assistance is GREATLY appreciated.

 

Thanks...Chris

1 Reply
ChristopherJohnson1
Frequent Contributor

I am no longer using a separate service from which to get my JSON data.  I was able to create and publish an ArcGIS map service, which provides a REST API interface.  I am then using the ClassBreaksDefinition with the GenerateRenderer function from the JavaScript API to create a Choropleth map.

Hope that this helps.

Thanks...Chris

0 Kudos