Skip to content

Cannot specify map type or any other GoogleMutant property #24

@Matthias-Claes

Description

@Matthias-Claes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions