Git Product home page Git Product logo

Comments (6)

istarkov avatar istarkov commented on August 24, 2024

Does this real device problem?
Or just device emulator within chrome?

from google-map-react.

majodev avatar majodev commented on August 24, 2024

Yes, AFAIK it's the same handling on all touch devices (ios and android), as it's the default handling of the google maps JavaScript API on touch devices (potentially to prevent heavy data loading on mobile?)

However, it would be cool if your component would provide a way to workaround this (e.g. by forcing a redraw on touchdrag - configurable via a prop - through one of those fixes mentioned in the above stackoverflow thread).

from google-map-react.

istarkov avatar istarkov commented on August 24, 2024

Read this #31
You can access to google map instance and do all what you want.

from google-map-react.

majodev avatar majodev commented on August 24, 2024

Ah ok, I thought we should continue to treat the real maps instance as internal and not use it directly. Good to know that this won't break in future releases.

Great, I'll answer back as soon as I have a proper solution.

from google-map-react.

istarkov avatar istarkov commented on August 24, 2024

It look's like this feature will break in future releases.
But it will looks like const inst = await ref.getGoogleMapInstace(); or something similar

from google-map-react.

istarkov avatar istarkov commented on August 24, 2024

https://github.com/istarkov/google-map-react#ongoogleapiloaded-func

from google-map-react.

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.