When I'm trying to specify the map type I get this error:
'Property 'type' does not exist on type 'IntrinsicAttributes & LayerProps & IProps & RefAttributes'.'
In fact, I cannot seem to set any of the GoogleMutant properties
My code:
<ReactLeafletGoogleLayer apiKey={config.googleMapsApiKey} type="satellite" />
I am using react leaflet v3 and using v2.0.4 of this library
When I'm trying to specify the map type I get this error:
'Property 'type' does not exist on type 'IntrinsicAttributes & LayerProps & IProps & RefAttributes'.'
In fact, I cannot seem to set any of the GoogleMutant properties
My code:
<ReactLeafletGoogleLayer apiKey={config.googleMapsApiKey} type="satellite" />I am using react leaflet v3 and using v2.0.4 of this library