Skip to content

Commit

Permalink
Add missing add-image-generated.js, fix .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh authored and Lauren Budorick committed Nov 18, 2017
1 parent b06c86b commit 1452677
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions docs/pages/example/add-image-generated.js
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 1452677

Please sign in to comment.