mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-29 23:04:43 +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) {
|
||||
ReactDOM.render(popup, mountNode);
|
||||
var content = mountNode.innerHTML;
|
||||
return content;
|
||||
return mountNode;
|
||||
}
|
||||
|
||||
function buildInspectStyle(originalMapStyle, coloredLayers, highlightedLayer) {
|
||||
|
|
Loading…
Reference in a new issue