Code Monkey home page Code Monkey logo

Comments (9)

graywolf336 avatar graywolf336 commented on May 7, 2024

I have removed the region prop from the MapView and replaced it with initialRegion yet the "grabbing" is still happening with listening and using the onRegionChange.

Here's the code, pretty much the same as your example just with es6...and maybe I'm doing something wrong with the es6 code which is causing it. https://gist.github.com/graywolf336/3349481678dd227a7849

from react-native-maps.

lelandrichardson avatar lelandrichardson commented on May 7, 2024

can you try removing the onRegionChangeComplete handler? (and also change the initialRegion prop back to region)

from react-native-maps.

graywolf336 avatar graywolf336 commented on May 7, 2024

Doing that yields the same results. 😞

from react-native-maps.

lelandrichardson avatar lelandrichardson commented on May 7, 2024

@graywolf336 does this happen with the examples? If not, perhaps you can post the code you are using?

Edit: sorry... I see you already have. Let me try loading your code up and seeing if it happens for me.

from react-native-maps.

graywolf336 avatar graywolf336 commented on May 7, 2024

I'm using es6 and babel, but that's the only real difference I can tell between your code and mine.

from react-native-maps.

graywolf336 avatar graywolf336 commented on May 7, 2024

As an update, I just copied the source and pasted it directly from the DisplayLatLng.js example and I'm still experiencing the issue. I'm using Genymotion Google Nexus 6 - 5.0.0 - API 21.

from react-native-maps.

lelandrichardson avatar lelandrichardson commented on May 7, 2024

@graywolf336 thanks. Going to try downloading the same emulator and seeing what happens. We've had some issues with 5.0.0 before, but they were a bit different.

from react-native-maps.

lelandrichardson avatar lelandrichardson commented on May 7, 2024

@graywolf336 should be available in 0.2.3

from react-native-maps.

graywolf336 avatar graywolf336 commented on May 7, 2024

Can confirm it is fixed along with #26 being fixed. 👍 Thanks!

from react-native-maps.

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.