rnmapbox / rnmapbox/maps

When we give custom style url it gives blank on borders of that url any custom url it give blank only

Open
#3,458 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug 🪲
Dominant language
Kotlin
Stars
2.9k
Forks
947
Avg merge
6d 37m
Merged PRs (30d)
1

Description

Screenshot 2024-04-22 at 2 49 03 PM

Mapbox Implementation

Mapbox

Mapbox Version

10.16.4

React Native Version

0.72.0

Platform

iOS, Android

@rnmapbox/maps version

10.0.15

Standalone component to reproduce
import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Camera,
} from '@rnmapbox/maps';

const aLine = {
  type: 'LineString',
  coordinates: [
    [-74.00597, 40.71427],
    [-74.00697, 40.71527],
  ],
};

class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}
 styleURL= {'mapbox://styles/aerosimple/clmyyud9802u301qu2yadcuco'}
>
        <Camera centerCoordinate={[-74.00597, 40.71427]} zoomLevel={14} />
      </MapView>
    );
  }
}
Observed behavior and steps to reproduce
Expected behavior
Notes / preliminary analysis

No response

Additional links and references

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the standalone BugReportExample and reproduce the custom styleURL using @rnmapbox/maps 10.0.15 with React Native 0.72.0 on both iOS and Android. Compare the rendered map with the supplied screenshots; done means the custom style no longer shows blank borders on either platform.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.