Fix feature selection in <FeatureLayerPopup />

This commit is contained in:
orangemug 2020-01-18 20:42:38 +00:00
parent 4dbb423ac2
commit 51f2cfac16

View file

@ -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) {