let accent = new Accent('.container', {
image: '/images/map.jpg',
areas: [{
coords: [100,100, 100,200, 200,200, 200,100]
}, {
coords: [300,100, 300,200, 400,200, 400,100]
}],
startZoom: 'cover',
style: {
fill: 'none',
fillOpacity: 0,
stroke: 'none',
strokeWidth: 0
},
hoverStyle: {
fill: '#1CBB9D',
fillOpacity: 0.4,
stroke: '#1CBB9D',
strokeWidth: 3,
strokeOpacity: 1
},
hoverSpeed: 100
});-
Notifications
You must be signed in to change notification settings - Fork 0
mnoskov/accent-canvas
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published