Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does the OverviewMap display on the top/left of the map and not in the default position?

Default display Left map position
0
Posted

Why does the OverviewMap display on the top/left of the map and not in the default position?

0

The position of the Overview Map is controlled by CSS, loaded to the page automatically when the map is created. This CSS is stored in the ‘theme’ directory: if you do not have a theme directory alongside the ‘img’ directory that OpenLayers is using, this CSS can not be loaded, and the map will be displayed in the upper left, instead of the properly CSS positioned lower right.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123