Esri / storymap-series

The Story Map Series lets you present a series of maps via tabs, numbered bullets, or a side accordion.
Apache License 2.0
63 stars 59 forks source link

geocoder (custom), add to ESRI storymap app #24

Open xyz-t opened 8 years ago

xyz-t commented 8 years ago

What do we do now if we want to add a custom geocoder to our storymap? I notice the previous version of the solution, from September(?) of 2015, not only referenced editing files not contained in the current version of the storymap app, but has been closed as of March, 2016.

glazou commented 8 years ago

The geocoder configuration is available in app/config.js at this line https://github.com/Esri/map-series-storytelling-template-js/blob/master/src/app/config.js#L473

By default the application will used geocoder configured in your ArcGIS Online configuration and you can override them there.

xyz-t commented 8 years ago

Thanks. I had found that earlier, I just thought there must be more since that didn't work for me.

I'm trying to configure/tweak a test version locally using XAMMP, but the local app links via my ArcGIS Online ID (by necessity, AFAIK) to a "live" unaltered version of the app -- maybe that's overwriting any edits.

I may be seeking the impossible.

I don't have access to an administrator account, and as I noted the app I'm trying to edit already has a live version; I'm trying to work around all that to visualize possibilities in a locked-down environment...

glazou commented 8 years ago

I just tested and I confirm it should work. Do you get any error in the developer console or see any request to your geocoder that fail. If something goes wrong with the geocoder it is ignored but there is no error message in the UI.