Layers must now always be specified for the control. Base example was amended to reflect that. The breaking change was added in the update notes.
11 lines
408 B
HTML
11 lines
408 B
HTML
---
|
|
layout: example.html
|
|
title: Overview Map Control
|
|
shortdesc: Example of OverviewMap control.
|
|
docs: >
|
|
This example demonstrates the use of the OverviewMap control. Both the main map and the overview map are configured with layers using the same source.
|
|
Please note that explicitly configuring layers for the overview map is mandatory.
|
|
tags: "overview, overviewmap"
|
|
---
|
|
<div id="map" class="map"></div>
|