In node red how to hide base map while showing image layer

#1

How to hide the base map from map, I want to show only image layer. Below is the function which sends message to worldmap

var imageBounds = [[40.712216, -74.22655], [40.773941, -74.12544]];
msg.payload = { command : { lat:40.74, lon:-74.175, zoom:90 ,"hidelayer":"OSM"} };
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" }
};
return msg;
0 Likes

How can I map a static image on map
#2

see other thread - How can I map a static image on map

0 Likes

closed #3
0 Likes