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]: 3D (terrain) not working on iOS #3567

Closed
nemoneph opened this issue Jul 6, 2024 · 1 comment · Fixed by #3658
Closed

[Bug]: 3D (terrain) not working on iOS #3567

nemoneph opened this issue Jul 6, 2024 · 1 comment · Fixed by #3658
Labels
bug 🪲 Something isn't working

Comments

@nemoneph
Copy link

nemoneph commented Jul 6, 2024

Mapbox Implementation

Mapbox

Mapbox Version

11.4.0

React Native Version

0.74.2

Platform

iOS

@rnmapbox/maps version

10.1.23

Standalone component to reproduce

import React from 'react';
import {
  MapView,
  ShapeSource,
  LineLayer,
  Mapbox
} from '@rnmapbox/maps';



class BugReportExample extends React.Component {
  render() {
    return (
      <MapView style={{flex: 1}}>
       <Mapbox.RasterDemSource
          id="mapbox-dem"
          url="mapbox://mapbox.mapbox-terrain-dem-v1"
          tileSize={514}
          maxZoomLevel={18}
        >
          <Mapbox.Terrain sourceID="mapbox-dem" style={{ exaggeration: 2 }} />
        </Mapbox.RasterDemSource>
      </MapView>
    );
  }
}

Observed behavior and steps to reproduce

This is working fine on Android, but on iOS the terrain / 3D is flat (it's does nothing)

Expected behavior

The terrain should show elevation terrain / 3D

Notes / preliminary analysis

No response

Additional links and references

No response

@GBPeters
Copy link

Experiencing this too. Where's the upvote button? 😂

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

Successfully merging a pull request may close this issue.

2 participants