mirror of
https://github.com/maputnik/editor.git
synced 2026-06-20 14:17:27 +00:00
Fix feature selection in <FeatureLayerPopup />
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user