Skip to content

Grey map or not even drawing on Android #9

@mbrucher

Description

@mbrucher

Is this a bug report?

Yes

Have you read the Installation Instructions?

As far as I know, everything was installed properly.

Environment

react-native: 0.60.5
react: 16.8.6
react-native-maps: 0.23.0rc4

Target Platform: Android Pixel 3a, API 29 (emulator and Nokia 7+)

Steps to Reproduce

I added a Map in a View like this:

    return <MapView
      provider={Platform.OS === "ios" ? null : "osmdroid"}
      initialRegion={region}
    >
      <UrlTile
        maximumZ={18}
        urlTemplate="https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}.png"
      />
    </MapView>;

Expected Behavior

Should display a map.

Actual Behavior

The map stays grey (interaction works).

I suppose I missed a step while installing the package, but I can't figure out what.

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