Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/FlatmapError.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="flatmap-error-message" v-if="flatmapError.messages">
<div v-for="(message, index) in flatmapError.messages" :key="index">
{{ message }}
<div v-html="message"></div>
</div>
</div>
<div v-if="flatmapError.button">
Expand Down
6 changes: 5 additions & 1 deletion src/components/FlatmapVuer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3034,7 +3034,11 @@ export default {
this.lastViewport = markRaw(this.mapImp.getState())
this.flatmapError = {};
this.flatmapError['title'] = 'GL context lost!'
this.flatmapError['messages'] = [`GL context is lost due to too many concurrent GL contexts. Please try using the Restore Context button.`]
this.flatmapError['messages'] = [`A display issue has occurred due
to a limit on available WebGL contexts. You can restore the display
using the Restore Context button. Please see the
<a href="https://docs.sparc.science/docs/integrated-maps-viewer-overview" target='_blank'>documentation</a>
for more details.`]
this.flatmapError['button'] = {
text: 'Restore Context',
callback: () => {
Expand Down