Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit of directory for gcds-map component
Dynamically render layers based on passed props Add gcds-map-layer, update gcds-map to use it. Update index.html with example map. Need to figure out how to get a storybook together. Update gcds-map.stories.tsx Add dependency on @maps4html/mapml Updates for gcds-map Remove dep on npm @maps4html/mapml Add <Host>, load mapml-viewer via script tag, per Ethan Wallace suggestion Basic functional story, needs work Sync package.json with upstream Update packages/web/src/components/gcds-map/gcds-map.tsx Use suggested integrity SHA for mapml.js temporarily until it can be included in dist Co-authored-by: Pierre Dubois <[email protected]> Generated packages ? Update default story - overview.mdx is the focus for examples of gcds-map attributes effects. To do: add examples for gcds-map-layer properties, probably by renaming properties.mdx and using that as the menu item for "Map Layer" Add zoomTo method definition to ts class definition Update component render method to get mapml.js from ./dist/gcds/gcds-map Still need to create that or equivalent location during build process Update map to have controls by default Rename layer- to map-layer Add @maps4html/mapml as dependency. Add copy script, update stencil config to invoke copy of mapml artifacts to dist output directory. Get rid of comment in component that is rendering Change default controls from false to true Make mapml a dependency, not a devDependency, since it must be present at runtime / installed with product Revert <layer-> to <map-layer> refactoring, because that code has not been released yet Make copyMapMLFiles.js into a stencil.config.js plugin thingy, in line with other imported plugins. non-idempotency in copy mapml plugin Replace unreliable custom stencil plugin with stencil copy option Make move <script> creation into componentWillLoad lifecycle method, test for it's previous existence. Add ts-loader to devDependencies (maybe this is not correct, but I couldn't get storybook to compile otherwise). Add dist/gcds/gcds-map as static resource directory for storybook. Add caption attribute to gcds-map Rename title to caption. Update @watches to handle one Prop each. Add caption to index.html gcds-map instance Fix a bunch of compile-time errors Update title -> caption in story Change how controls is implemented by stencil to make it consistent with boolean attribute with default of false when not present Attempt to mitigate problems caused by story rendering component many times with each keystroke Make controlslist a multi-select in storybook Update mapml to 0.16.0
- Loading branch information