Giter Site home page Giter Site logo

Comments (8)

stepankuzmin avatar stepankuzmin commented on June 10, 2024 1

Hey everyone! Overriding classes in GL JS Draw sounds like a good addition. We already have constants in src/constants.js, so implementing overriding should be straightforward. Does anyone want to take a first stab at it?

from mapbox-gl-draw.

neodescis avatar neodescis commented on June 10, 2024 1

I'll be happy to give it a go. I'm hoping to be able to work on it this week.

from mapbox-gl-draw.

tianzaishuo avatar tianzaishuo commented on June 10, 2024 1

I tried this and it's okay
a

from mapbox-gl-draw.

mstahv avatar mstahv commented on June 10, 2024 1

Note to people finding this issue: it looks like only the "display controls" are broken. I was able to hack together a PoC for my Vaadin integration by using a separate UI to trigger the draw mode (and using defaultMode constructor parameter to start drawing immediately): parttio/maplibre@edb0a49

from mapbox-gl-draw.

HarelM avatar HarelM commented on June 10, 2024

Sounds like a good approach from my point of view.
@Pessimistress what is your solution for react-map-gl for these kind of issues?
@stepankuzmin what do you think should be the approach?

from mapbox-gl-draw.

geronimoooo avatar geronimoooo commented on June 10, 2024

I tried this and it's okay a

Worked for me.

from mapbox-gl-draw.

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.