Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No source switching #1

Open
wants to merge 51 commits into
base: main
Choose a base branch
from

Conversation

benrudolph
Copy link

Removes two sources which is not useful in our case of very few features being drawn. Simplifies thigns

vhautsal and others added 30 commits December 2, 2020 13:16
This switching causes severe flickering and there seems to be no
performance advantage at least in our use case.

See:

<mapbox#871>
<mapbox#916>
- Fix `package.json` main not pointing to dist
- Fix node builtins not being shimmed and treeshaken out out
* Include steps for publishing to AWS/CDN

* Update CDN publishing docs

Co-authored-by: Arindam Bose <arindam.bose@mapbox.com>
Optimize size of mapbox-gl-draw.css from 33 KB to 5 KB

• Remove geometry outside the viewbox
• Remove unused and unnecessary complex geometry and definitions inside the viewbox
• Optimize geometry representation to compound paths
• Optimizing number of decimals from six to one through ImageOptim (lossy, yes, but not noticeable)
• Represent svgs as svgs in css, not Base64 encoded svgs (Base64 encoding of well written svgs is meaningless – it just increases the file size).
• Url encode SVG tags in css
Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
…x#1008)

Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
A mapbox gl draw mode to draw and edit bezier curves.
Error in the docs, the style for "gl-draw-polygon-stroke-active" was not closed properly
hassank-mapbox and others added 21 commits January 4, 2023 10:50
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update dependencies

* Bump Node version to v14 in Travis
… (h/t @danielsippel)

* fixes "Unable to preventDefault inside passive event" on chrome mobile error
since Chrome 56 all touch event listeners are passive by default; https://chromestatus.com/feature/5093566007214080

* added prepare script to package.json

* - fixes mapbox#1019 "Unable to preventDefault inside passive event" on chrome mobile error
- preventDefault() skipped only for chrome browsers, drawing functions stopped working on other browsers

* fixes mapbox#1019 for all mobile browser which support event listener options
[https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener]

* fixes mapbox#1019; removed prepare script from package.json; not going into main repo

Co-authored-by: Daniel Sippel <daniel@agile.coach>
As simple_select sometimes renders lines as `MultiLineString` geometry,
sort ranking should handle this type or midpoint clicking would fail.
Changing CodeQL configuration from `Advanced` to `Default`.
…eodescis)

Co-authored-by: Nick Steinbaugh <nsteinbaugh@icr-team.com>
* Update dependencies
This is a custom mode for @mapbox/mapbox-gl-draw that allows user to paint freestyle on the map.
Co-authored-by: Stepan Kuzmin <hello@stepankuzmin.com>
* make API ref more visible in README

* re-add header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.