Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create setupMap function in mapManager #15

Open
james-rae opened this issue Nov 20, 2015 · 0 comments
Open

Create setupMap function in mapManager #15

james-rae opened this issue Nov 20, 2015 · 0 comments

Comments

@james-rae
Copy link
Member

  • Requires issue Create map manager submodule #14 to be completed first
  • Having configuration schema finalized will be very helpful prior to starting this.
  • Function name is not set in stone (yet)
  • Function will take a new map and add visual things to it. See the wiki page for details
  • Function will have parameters (names not official yet)
    • map, an ESRI map object
    • settings, a subsection of the config (likely from the map section) that defines what visual things the map should have
  • Function should iterate over the settings and apply logic for any items present
    • as an example, if a scalebar definition was present in the settings, a scalebar should be applied to the map
    • for now, just set up the structure for iteration. implementation of specfic cases will be done in other tasks
    • rather than using a switch statement, use an object that maps settings key names to the appropriate functions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants