Giter VIP home page Giter VIP logo

Comments (7)

n23daniel avatar n23daniel commented on September 10, 2024

Silly me... I had to enable the Google Maps SDK for iOS from the Google Console.

from react-native-streetview.

chrise86 avatar chrise86 commented on September 10, 2024

I have this issue even though I have enabled the Maps SDK for iOS. Has anyone else had this issue?

from react-native-streetview.

thomashermine avatar thomashermine commented on September 10, 2024

I had the issue as well (and Google Maps SDK for iOS was enabled), while using last commit #05abeca.
I had to downgrade to commit #1410418 to fix it

from react-native-streetview.

chrise86 avatar chrise86 commented on September 10, 2024

@thomashermine try using my fork. I've put a pull request in. I've changed the native bridge to match the Google documentation and it's working fine. I also specify a heading prop on my component:

<StreetView
  style={styles.streetView}
  allGesturesEnabled={true}
  coordinate={{ latitude, longitude }}
  heading={180}
  onSuccess={() => console.log('map loaded')}
  onError={(event) => console.log('failed to load map', event.nativeEvent)}
/>

from react-native-streetview.

thomashermine avatar thomashermine commented on September 10, 2024

@chrise86 Great! I used your fork, it works perfectly (even w/o the heading prop) !

from react-native-streetview.

RuudBurger avatar RuudBurger commented on September 10, 2024

See #24 for possible fix

from react-native-streetview.

fullstact69 avatar fullstact69 commented on September 10, 2024

onError={(event) => console.log('failed to load map', event.nativeEvent)}
Always it is called. How to fix this?

from react-native-streetview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.