Skip to content

Project repository for the new Sentiments Mapping App using ArcGIS tools and API's

Notifications You must be signed in to change notification settings

bgmapp/P4TP-Sentiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Embeddable Word Cloud App

Configuration Steps

  1. Open the all.html file
  2. There is a configurable section at https://github.com/bgmapp/P4TP-Sentiments/blob/master/all.html#L124-L156
  3. For each variable that you want to configure, you can modify it in this section
  4. Some of the things that are configurable include:
    • surveyLayerName - the name of the survey layer in the web map
    • statesLayerName - the name of the states layer in the web map
    • webMapId - the id to the web map
    • surveyQuestionField - the question/answer field from the survey service
    • surveyDescriptionField - the descriptive text field from the survey service
    • stateNameField - the field form the states service that holds the state name
    • extraStatePopupContent - you can add any additional popup content items here for the states layer, when you click on a word from the word cloud. You can refer to the specification at https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html#content, if you want to configure additional sections
    • wordCloudColor - color of the word cloud items
    • wordCloudSelectedColor - color of the selected word cloud item
    • fontFamily - font family used by the word cloud items
  5. Once you are done changing these things, you can copy the entire contents of the all.html file, and paste it into the html code section of an experience builder element.

NOTE: All services and surveys must currently be public and shared with everyone for this embeddable app to work

About

Project repository for the new Sentiments Mapping App using ArcGIS tools and API's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published