Esri / storymap-tour

The Story Map Tour is ideal when you want to present a linear, place-based narrative featuring images or videos.
Apache License 2.0
152 stars 131 forks source link

stotymap feature layer with polygon support #60

Open sharif26 opened 8 years ago

sharif26 commented 8 years ago

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

glazou commented 8 years ago

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.