Closed Patrick1909 closed 8 years ago
I guess the easiest solution is transform: "r45":
plots: { 'paris': { type: "image", url: "img/dark/appbar.plane.png", width: 38, height: 38, latitude: 48.86, longitude: 2.3444, attrs: { opacity: 1, transform: "r45" }, attrsHover: { transform: "s1.5" } } }
Hello @Patrick1909 ,
You are right, the transform r45 is the way to go for your need, thank for having kept updated !
Hello,
does anybody know how I can change the slope of an image? I want to rotate the image e.g. 45 degrees like this: transform: rotate(45deg);
Is it possible to change the slope directly here?:
plots: { 'paris': { type: "image", url: "img/dark/appbar.plane.png", width: 38, height: 38, latitude: 48.86, longitude: 2.3444, attrs: { opacity: 1 }, attrsHover: { transform: "s1.5" } },
Thank you very much for any support.