Fix the OverviewMap control & example

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.
This commit is contained in:
Olivier Guyot committed 2018-11-15 12:04:49 +01:00
1 parent 50ae34fcc6
commit 593632daea
4 files changed
+17 -11

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@ layout: example.html
title: Overview Map Control
shortdesc: Example of OverviewMap control.
docs: >
This example demonstrates the use of the OverviewMap control.
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>