import * as React from 'react'; import { useMap } from '../../hooks'; import { MapCircle } from '../../models'; import GoogleCircle from '../../providers/GoogleMap/Circle'; import MapBoxCircle from '../../providers/MapBox/Circle'; import LeafletCircle from '../../providers/Leaflet/Circle'; function Polyline(props: MapCircle) { const { type } = useMap(); if (type === 'google') { return ; } if (type === 'mapbox') { return ; } if (type === 'leaflet') { return ; } return null; }; export default Polyline;