Skip to content

A javascript widget for picking a bearing / azimuth, eg for an arrow on a map

Notifications You must be signed in to change notification settings

brendanheywood/javascript-azimuth-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

A direction picker for JS

A picker for choosing a direction, or click in the center to choose no direction

Requires RaphaelJS

new AzimuthPicker({
	id: 'myId',
	accuracy: 4, // 2 = NSEW, 3 = 8 directions, 4 = 16 directions etc
	onchange: function(azimuth){}, // in degrees clockwise from north
});

About

A javascript widget for picking a bearing / azimuth, eg for an arrow on a map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published