mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:31:14 +01:00
Merge pull request #600 from orangemug/fix/issue-589
Fix feature selection in <FeatureLayerPopup />
This commit is contained in:
commit
6123b464de
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