Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* setup full typescript support * primary language exists on construction * first review cleanup * second review cleanup * UP gitignore * UP gitignore * UP typedoc and config * UP the prepare npm script is no longer copying demos to doc * FIX inheritance pattern of some Controls due to ML update * FIX Marker now requires an option object * WIP polyline layer helper * REM log * ADD adding a poliline layer * mock the gpx/kml parser * mock the gpx/kml parser * gpx and kml converters; better prettier support; upgrade packages; vite testing * adjust package lock * cleanup part 1 * cleanup part 2 * comment link error * FIX throwing when the string is not valid XML * FIX gpx/kml now throwing if content was xml but not of gpx/kml kind * ADD a function to convert from either gpx or kml * ADD integrate KML/GPX parser to addPolyline method * DOC added more comment * FIX DOMParser issues due to different behviors in Node (testing) and Browser * ADD demos to use map.addPolyline * ADD addPolyline examples * ENH better examples * ENH linting * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * REM unnecessary @param and @return * REM some unnecessary '?' to option objects * ADD polyline blur and gap width options * ADD dash pattern interpreter into actual dash array * Update src/converters/xml.ts Co-authored-by: Craig O'Connor <[email protected]> * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * ENH code readability * Update src/converters/xml.ts Co-authored-by: Craig O'Connor <[email protected]> * Update src/tools.ts Co-authored-by: Craig O'Connor <[email protected]> * ENH now supporting all the languages supported by OMT * REM geojson-validation * FIX example * Support for Customize language (#58) * ADD visitor language * WIP language logic revamp * ADD language from style metadata * ENH language definition * REM got rid of commented code * ENH adjusted the size of secondary lang with visitor language mode * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * ENH from review * ENH added things from review --------- Co-authored-by: Craig O'Connor <[email protected]> * Add polygon helper (#56) * ADD visitor language * ADD helper for addong polygon from geojson * ADD map.addPolygon * REM some data * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * ENH unused import * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * Update src/Map.ts Co-authored-by: Craig O'Connor <[email protected]> * ENH from review --------- Co-authored-by: Craig O'Connor <[email protected]> * Add minimap control (#54) * first attempt * reduce typescript warnings * reduce typescript warnings * add final todo * zoom ceiling; bounds bug fix; pitch off by default; unique style; simplify; etc. * fix key * simplify typescript * review part 1; cleaner types; better comments * remove zoomCeiling; its essentially minZoom * improve readability of minimap options input * bug fix; adjustments * add style downwind functions; requested changes * slight adjustment * set lang fix * improve types --------- Co-authored-by: Craig O'Connor <[email protected]> * Dev points (#59) * WIP point layer helper * WIP better clusters * WIP changed point helper options * ADD color ramps with builtins * WIP simpler set of options * ADD non linear resampling on color ramps * ADD color ramp doc * ADD outline color for points * ADD point outline settings * REM colorRamp arg and use only pointColor instead * DONE Map.addPoint * Dev points (#61) * WIP point layer helper * WIP better clusters * WIP changed point helper options * ADD color ramps with builtins * WIP simpler set of options * ADD non linear resampling on color ramps * ADD color ramp doc * ADD outline color for points * ADD point outline settings * REM colorRamp arg and use only pointColor instead * DONE Map.addPoint * ADD radius and weight being both zoom and property driven * ADD zoom comensation param to point helper * FIX minmaxzoom and added MapTiler cloud source with uuid * DOC polyline helper section in readme * WIP readme * DOC done with documenting helpers * DOC color ramp doc * DOC fix * DOC * ENH cleaning unused types * ENH updating eslint * FIX dependecy audit * ENH export types and a better style path * ENH refectoring to place the helpers in a dedicated place * FIX typo * TS moduleResolution is now "Bundler" (#62) * WIP point layer helper * WIP better clusters * WIP changed point helper options * ADD color ramps with builtins * WIP simpler set of options * ADD non linear resampling on color ramps * ADD color ramp doc * ADD outline color for points * ADD point outline settings * REM colorRamp arg and use only pointColor instead * DONE Map.addPoint * ADD radius and weight being both zoom and property driven * ADD zoom comensation param to point helper * FIX minmaxzoom and added MapTiler cloud source with uuid * DOC polyline helper section in readme * WIP readme * DOC done with documenting helpers * DOC color ramp doc * DOC fix * DOC * ENH cleaning unused types * ENH updating eslint * FIX dependecy audit * ENH export types and a better style path * ENH refectoring to place the helpers in a dedicated place * ENH changed TypeScript moduleResolution from Node to Bundler * Update to Maplibre gl v3.5.2 (#63) * WIP point layer helper * WIP better clusters * WIP changed point helper options * ADD color ramps with builtins * WIP simpler set of options * ADD non linear resampling on color ramps * ADD color ramp doc * ADD outline color for points * ADD point outline settings * REM colorRamp arg and use only pointColor instead * DONE Map.addPoint * ADD radius and weight being both zoom and property driven * ADD zoom comensation param to point helper * FIX minmaxzoom and added MapTiler cloud source with uuid * DOC polyline helper section in readme * WIP readme * DOC done with documenting helpers * DOC color ramp doc * DOC fix * DOC * ENH cleaning unused types * ENH updating eslint * FIX dependecy audit * ENH export types and a better style path * ENH refectoring to place the helpers in a dedicated place * ENH changed TypeScript moduleResolution from Node to Bundler * UP now using Maplibre v3.5.2 (strict) --------- Co-authored-by: Craig O'Connor <[email protected]> Co-authored-by: Craig O'Connor <[email protected]>
- Loading branch information