diff --git a/.gitignore b/.gitignore index 14dde719fa4..5e99fabcee8 100644 --- a/.gitignore +++ b/.gitignore @@ -11,8 +11,10 @@ coverage flow-coverage .DS_Store .nyc_output -*_generated.js -*-generated.js +bench/benchmarks_generated.js +bench/benchmarks_view_generated.js +debug/access_token_generated.js +debug/style_property_editor_generated.js test/integration/**/index*.html test/integration/**/actual.png test/integration/**/actual.json diff --git a/docs/pages/example/add-image-generated.js b/docs/pages/example/add-image-generated.js new file mode 100644 index 00000000000..6194d2aca6f --- /dev/null +++ b/docs/pages/example/add-image-generated.js @@ -0,0 +1,11 @@ +/*--- +title: Add a generated icon to the map +description: Add an icon to the map that was generated at runtime. +tags: + - styles + - layers +pathname: /mapbox-gl-js/example/add-image-generated/ +---*/ +import Example from '../../components/example'; +import html from './add-image-generated.html'; +export default Example(html);