Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

stotymap feature layer with polygon support#60

Closed
sharif26 wants to merge 4 commits intoEsri:masterfrom
sharif26:master
Closed

stotymap feature layer with polygon support#60
sharif26 wants to merge 4 commits intoEsri:masterfrom
sharif26:master

Conversation

@sharif26
Copy link

@sharif26 sharif26 commented Sep 2, 2016

Hello

Story Map is a great tool for story telling with GIS data.
Now we got a feature layer with polygon shape.
But unfortunately it only works with point data and I found that there are some requests for polygon.
So I tried to change the code so that it also works with polygon feature layer.
I just put the centroid of the polygon wherever necessary and also change few condition to support polygon.
Please review my fork & pull request.
It may not be fully complete, but it works with our current polygon feature and webmap.
So I think it can be a good start.

Have a great long weekend.
Thanks in advance
Sharif Ahmed
9/2/2016

coded added to handle feature layer with polygon, getCentroid() function is used in case of polygon type.
code changed to support polygon shape.
added code to support polygon shape
@glazou
Copy link

glazou commented Sep 2, 2016

Hi @sharif26,
Thanks for contributing, it looks good. We just wrapped up our upcoming release so we won't have time to review this right now, but we will consider your contribution for a future release.

@oevans oevans closed this Mar 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants