Merge pull request #600 from orangemug/fix/issue-589

Fix feature selection in <FeatureLayerPopup />
This commit is contained in:
Orange Mug 2020-01-19 09:46:57 +00:00 committed by GitHub
commit 6123b464de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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