174 |
175 |
176 | {showMap &&
}
177 |
189 |
190 | {React.Children.map(children, (child: any) => {
191 | if (!child) return child;
192 | if (child.type === Geometry) {
193 | return React.cloneElement(child, { triggerRepaintGeometry });
194 | }
195 | if (child.type === Icon) {
196 | return React.cloneElement(child, { triggerRepaintIcons });
197 | }
198 | return child;
199 | })}
200 |
201 |
202 |