import React, {Profiler} from "react"; import Google from "./../maps/Google"; import {measureTime} from './../helpers/measureTime'; import {CustomInput, Input} from "reactstrap"; import {mapTestState} from "./../config/variables" import { createRandomMarkers, calcMarkerPosition, changeSwitch, setNoOfMarkers } from "./../helpers/randomMarkers"; importĀ { componentDidMount, componentDidUpdate, componentWillUnmount } from "./../helpers/testLifecycle" export default class Googles extends React.Component{ constructor(props) { super(props) this.state = mapTestState this.measurementsDiv = React.createRef() this.markerInfoDiv = React.createRef() this.createRandomMarkers = createRandomMarkers.bind(this) this.calcMarkerPosition = calcMarkerPosition.bind(this) this.changeSwitch = changeSwitch.bind(this) this.setNoOfMarkers = setNoOfMarkers.bind(this) this.componentDidMount = componentDidMount.bind(this) this.componentDidUpdate = componentDidUpdate.bind(this) this.componentWillUnmount = componentWillUnmount.bind(this) } render(){ return (