mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-30 23:25:29 +01:00
Fix feature selection in <FeatureLayerPopup />
This commit is contained in:
parent
4dbb423ac2
commit
51f2cfac16
1 changed files with 1 additions and 2 deletions
|
@ -19,8 +19,7 @@ const IS_SUPPORTED = MapboxGl.supported();
|
||||||
|
|
||||||
function renderPopup(popup, mountNode) {
|
function renderPopup(popup, mountNode) {
|
||||||
ReactDOM.render(popup, mountNode);
|
ReactDOM.render(popup, mountNode);
|
||||||
var content = mountNode.innerHTML;
|
return mountNode;
|
||||||
return content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function buildInspectStyle(originalMapStyle, coloredLayers, highlightedLayer) {
|
function buildInspectStyle(originalMapStyle, coloredLayers, highlightedLayer) {
|
||||||
|
|
Loading…
Reference in a new issue