duckduckgo / duckduckhack-docs

DuckDuckHack Instant Answer documentation for developers
http://docs.duckduckhack.com
Other
78 stars 75 forks source link

Document that places template group requires maps #89

Closed sekhavati closed 2 years ago

sekhavati commented 8 years ago

The documentation omits to mention that in order for mapping functionality to work with the places template group the call to Spice.add() must be wrapped within a require block that imports maps, ie:

DDG.require(['maps'], function() { Spice.add( ...

http://docs.duckduckhack.com/frontend-reference/template-groups.html#places-template-group

Divya063 commented 6 years ago

@sekhavati Can I work on this?