MMapContainer
The MMapContainer class is a wrapper component that wraps arbitrary components of react and vue libraries and passes the necessary parameters to them.
Usage example
const container = <MMapContainer>
<MMapMarker coordinates={[55.76, 37.64]}><div className="point"></div></MMapMarker>
<div>Some text</div>
</MMapContainer>;
ReactDOM.render(<MMap>{container}</MMap, document.getElementById('root'));
Constructor
new MMapContainer(props, options?)
Constructor parameters
|
Parameter |
Type |
Description |
|
|
|
Value of input |
|
|
Optional object parameters. |
Inherited from
new MMapContainer(props, children?, options?)
Constructor parameters
|
Parameter |
Type |
|
|
|
|
|
|
|
|
|
Inherited from
Props
static defaultProps: Object
Parameters
|
Parameter |
Type |
|
|
|
Methods
addChild
addChild(child, index?): MMapContainer
Parameters
|
Parameter |
Type |
|
|
|
|
|
|
Returns
Inherited from
removeChild
removeChild(child): MMapContainer
Parameters
|
Parameter |
Type |
|
|
|
Returns
Inherited from
update
update(changedProps): void
Parameters
|
Parameter |
Type |
Description |
|
|
|
New props values. |
Returns
void