Skip to content

Commit 702d6f9

Browse files
committed
Fix example in Attribution control docs
1 parent e9386d2 commit 702d6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ui/control/attribution.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = Attribution;
1313
* @param {string} [options.position='bottom-right'] A string indicating the control's position on the map. Options are `top-right`, `top-left`, `bottom-right`, `bottom-left`
1414
* @example
1515
* var map = new mapboxgl.Map({attributionControl: false})
16-
* .addControl(new mapboxgl.Navigation({position: 'top-left'}));
16+
* .addControl(new mapboxgl.Attribution({position: 'top-left'}));
1717
*/
1818
function Attribution(options) {
1919
util.setOptions(this, options);

0 commit comments

Comments
 (0)