mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 16:41:17 +01:00
Removed external svg from filter command.
This commit is contained in:
parent
bcdc7c6811
commit
8b67499a64
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ export default class App extends React.Component {
|
||||||
}
|
}
|
||||||
const elementStyle = {};
|
const elementStyle = {};
|
||||||
if (filterName) {
|
if (filterName) {
|
||||||
elementStyle.filter = `url('color-accessibility.svg#${filterName}')`;
|
elementStyle.filter = `url('#${filterName}')`;
|
||||||
};
|
};
|
||||||
|
|
||||||
return <div style={elementStyle} className="maputnik-map__container">
|
return <div style={elementStyle} className="maputnik-map__container">
|
||||||
|
|
Loading…
Reference in a new issue