ipyleaflet icon indicating copy to clipboard operation
ipyleaflet copied to clipboard

the tileLayer of ipyleaflet load the dict form data?

Open funny000 opened this issue 4 years ago • 0 comments

the dict data is a type "buffer". just like: data = { "data": { "type": "Buffer", "data": [255.0, 122.0, 255.0, 90.0] }, "message": "success", "info": { "time": 97.0, "memTotal": "92.71", "memUsage": "51.29", "osTotalMem": "30.96", "osFreeMem": "0.59", "hostname": "computerserver", "cpus": 8.0, "pid": 1.0 }, "code": 0.0 } data = data.get("data").get("data") the data is a buffer data(array), i can transform the data to the png image, and i have a url which use it response data. Can the TileLayer of ipyleaflet load the data to the map or load the png image to the map.

funny000 avatar Mar 22 '21 07:03 funny000