Select to view content in your preferred language

Need Help Understanding A Made Custom Widget

815
3
Jump to solution
12-19-2019 03:05 PM
SamLee1
Emerging Contributor

I am looking through GitHub resources to see if I can get a better understanding of creating custom widgets. I came across this GitHub and was confused on the service that he used. He is able to use a service that brings in data from Minnesota counties and display them. What service is that? I am trying to mimic his widget to my own. For example, I want to zoom into cities within the Sacramento County and display a result just like what he did. This is confusing me a lot. I am trying to understand his logic of using that service. Like how is he getting the data and where? Is it a service made already by Esri?

Here are his links: 

2018GISLIS/widget2.md at master · paulhedlund/2018GISLIS · GitHub 

2018GISLIS/widget3.md at master · paulhedlund/2018GISLIS · GitHub 

I have attached his widget for visual and code reference.

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Sam,

  He is using a WebMap with an id of f52b53780bde41e0b8e6c695f64199e4

.

https://www.arcgis.com/home/item.html?id=f52b53780bde41e0b8e6c695f64199e4 

That web map uses this layer:

https://services.arcgis.com/8df8p0NlLFEShl0r/arcgis/rest/services/MN_Counties_New/FeatureServer/0 

You can find the above url by looking at the web maps layers and then the layers service url.

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Sam,

  He is using a WebMap with an id of f52b53780bde41e0b8e6c695f64199e4

.

https://www.arcgis.com/home/item.html?id=f52b53780bde41e0b8e6c695f64199e4 

That web map uses this layer:

https://services.arcgis.com/8df8p0NlLFEShl0r/arcgis/rest/services/MN_Counties_New/FeatureServer/0 

You can find the above url by looking at the web maps layers and then the layers service url.

0 Kudos
SamLee1
Emerging Contributor

Hello Robert,

Thanks for the response.

Do you know how I can find those services for Sacramento County and its cities within that county?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Sam,

  Sure just search www.Arcgis.com

https://www.arcgis.com/home/item.html?id=a2f3193ea0884afe8a8231902d638fd8 

Or get data from the open data website for your county.

Sacramento County GIS Open Data Site 

0 Kudos