Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

APEX Minimap in Report w > 15 rows gives WARNING: Too many active WebGL contexts.

Oracle APEX, 23.1 (though same in 22.2) when including a minimap in an interactive report column,

when more that 15 rows are displayed in the report, the minimaps display, then a second or two later, un-display.

In the console there are a series of this error:

  WARNING: Too many active WebGL contexts. Oldest context will be lost.

One for each row that un-displays.

Reading up on the maplibre error, apparently this is a browser limiation, as browsers limit the number of WebGL instances.

It sounds like there are workarounds, but none that make sense for the minimap in a report situation.

Is this a known limitation in the use of minimaps in APEX? or, is there something I can do to/with the minimap settings to be able ot display more than 15 (rows) at a time?

My minimap settings:

<div class="miniMap" id="snorkelMap#WATER_ACTIVITY_ID#"
data-center="[#LONGITUDE#, #LATITUDE#]"
data-zoom="11"
data-marker="true"
data-tooltip="#NAME#-#TIME_NEEDED"
data-interactive="false"
data-attributions="false"
style="width:120px;height:120px;border-radius:10px;">
</div>

Very basic.

I can live with the limitation - I just want to know if there is a workaround, as I am sure others will ask about this.

The image is the report after the maps un-draw themselves.

when the report renders, the maps come in, then, as more than 15 or so minimaps render, the WARNING: Too many active .. errors start and the minimaps un-dra themselves, leaving all the minimaps empty, as shown.

Thoughts, suggesitons, or just plain confirmation that Yup, that's how it works, all welcome.

Thank you,

Karen

Comments
Post Details
Added on Jun 17 2023
0 comments
436 views