-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hello Nicolas,
I really like your lib and want to use it in an own software product. Because of that I need some additional functioality:
- load the image programatically,
- provide (programatically set) a list of titles (dropdown in title setting dialog) and
- set the filename(s) to save the (HTML) result programatically without dispaying the save-file-dialog.
Have I to modyfy the ts-sources and build the js file or is there a way to do that easier (callback, configuration?
I tried (with no success - no error messages but also no image in the canvas) for the first point, using your demo:
var canvas = document.getElementById('defaultCanvas0');
canvas.removeAttribute("title");
var ctx = canvas.getContext('2d');
var img1 = new Image();
img1.onload = function () {
ctx.drawImage(img1, 0, 0);
};
img1.src = '../media/25777/xlayout(999).jpg';
I want to provide the possibility that users can define areas of a floor plan (in the backend) to provide jumps to detail informations in the frontend.
Would You be so kind to give me some hints?
Kind regards and thanks in advance
Knut
Metadata
Metadata
Assignees
Labels
No labels