Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: multiPolygon common borders are not drawn/shown #3590

Closed
aderiushev opened this issue Aug 15, 2024 · 2 comments
Closed

[Bug]: multiPolygon common borders are not drawn/shown #3590

aderiushev opened this issue Aug 15, 2024 · 2 comments
Labels
bug 🪲 Something isn't working reopen-on-code-fixed

Comments

@aderiushev
Copy link

aderiushev commented Aug 15, 2024

Mapbox Implementation

Mapbox

Mapbox Version

10.18.2

React Native Version

0.74.2

Platform

iOS, Android

@rnmapbox/maps version

10.1.28

Standalone component to reproduce

import Mapbox from '@rnmapbox/maps';
import { SafeAreaView } from 'react-native';

const styles = {
  polygons: {
    fillColor: 'red',
    fillOpacity: 0.5,
  },
  line: {
    lineWidth: 3,
  }
};

export const Map = () => {
  const shape = {PASTE_HERE_GEOJSON_FROM_GIST_LINK_BELOW}

  return (
    <Mapbox.MapView style={{ flex: 1 }}>
      <Mapbox.ShapeSource
        id="polygonsSource"
        shape={shape}
      >
        <Mapbox.LineLayer
          id="polygonSymbols"
          style={styles.line}
        />
        <Mapbox.FillLayer
          id="polygonSymbols3"
          style={styles.polygons}
        />
      </Mapbox.ShapeSource>
    </Mapbox.MapView>
  );
};

function App()  {
  return (
    <SafeAreaView>
        <Map />
    </SafeAreaView>
  );
}

export default App;

Observed behavior and steps to reproduce

image

here is how it is displayed now, common borders got hidden

Expected behavior

image it looks like the following with cells (bordered, all common borders are shown)

https://geojson.io/ (powered by mapbox)

Notes / preliminary analysis

No response

Additional links and references

https://gist.github.com/aderiushev/00e9f6ea63703ccd0bf345526d31c9b4

@aderiushev aderiushev added the bug 🪲 Something isn't working label Aug 15, 2024
@aderiushev
Copy link
Author

what do u want me to add here, mr. bot?

@aderiushev aderiushev changed the title [Bug]: Common polygon lines (borders) are not drawn [Bug]: Common polygon borders are not drawn/shown Aug 15, 2024
@aderiushev aderiushev changed the title [Bug]: Common polygon borders are not drawn/shown [Bug]: multiPolygon common borders are not drawn/shown Aug 15, 2024
Copy link

No code example found in issue body - More info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working reopen-on-code-fixed
Projects
None yet
Development

No branches or pull requests

1 participant