Git Product home page Git Product logo

Comments (5)

cyberhobo avatar cyberhobo commented on August 23, 2024

May be related to issue 39.

from mxn.

brunob avatar brunob commented on August 23, 2024

I think the bug is there :

https://github.com/mapstraction/mxn/blob/master/source/mxn.googlev3.core.js#L95

This should be this code instead :

myOptions.draggable = this.options.enableDragging;

I'll make pull request in the next days.

++

from mxn.

brunob avatar brunob commented on August 23, 2024

I've tested my proposed correction and found that it's not enough cause cyberhobo was wright. The bug of mxn.util.merge pointed on issue #39 make that the draggable options is set to true despite of map.setOption('enableDragging', false);

mxn.options.enableDragging = false

and

mxn.maps.googlev3.draggable = true

Commit for fixing enableDragging bug in googlev3 is there : 7c9ad16

from mxn.

gilesc50 avatar gilesc50 commented on August 23, 2024

retested on release 3 and this does stop the map from being dragged: map.dragging(false); so closing this issue

from mxn.

riklaunim avatar riklaunim commented on August 23, 2024

can't make it stop dragging on the "dev" branch code even with the mxn.googlev3.core.js fix.

from mxn.

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.