Hi,
I want to use an image overlay for Worldmap. Is it possible to use an local file in?
In the discription is only an url to an webadress:
var imageBounds = [[40.712216, -74.22655], [40.773941, -74.12544]];
msg.payload = { command : {lat:40.74, lon:-74.175, zoom:13 } };
msg.payload.command.map = {
overlay:"New York Historical",
url:'http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg',
bounds: imageBounds,
opt:{ opacity:1.0, attribution:"© University of Texas" }
};
How i have to set url? Or do i need to share this image file an an small webserver local on the machine where node red is runnig?
Have made an folder in node red directory with the image in ist, and tried url: '/Folder/image.jpg'
but this seems not to work.
Any suggeestions?
Best regards