Skip to content

Default Basemap terria v8 #5841

Answered by zoran995
anujdivesh asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @anujdivesh,
Here is a code snippet you posted above that I just tested, you can also test it here http://ci.terria.io/main/#https://gist.githubusercontent.com/zoran995/186b6da410d4ea38b933eaa489b2d58b/raw/844290860f71dd9f17025ee461c11e162b0409a8/gistfile1.json.

{
  ... other init config
  "baseMaps": {
    "enabledBaseMaps": ["basemap-darkmatter","basemap-positron","basemap-natural-earth-II"],
    "defaultBaseMapId": "basemap-natural-earth-II"
  },
  ...
}

Regarding default-basemap to see the effect of the above configuration you might need to delete a ... .basemap key from the local storage or use incognito mode in the browser. The order of resolving the base maps is

  • local storage
  • i…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by anujdivesh
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants