This directive create hotspots over an image, then you can use the array of hotspots to recreate them with responsive behavior. This was a project that I worked together with a friend in our job. Thanks Lawrence Velasquez
Demo in this link
Dependencies
- jQuery
- underscore.js
- jqueryUI
Instructions:
- image-src : url image
- hotspots : array where hotspots will be placed
- options : options (stil in progress)
html:
<hotspot-creator image-src="" hotspots="" options=""></hotspot-creator>