You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use below code , marker width and height is 10 by 10
importStaticMapsfrom"staticmaps"importpathfrom"path"constoptions={width: 600,height: 400};constmap=newStaticMaps({width:1000,height:1000});constmarker={img: `https://unsplash.com/photos/cxj-8PILRU4/download?ixid=M3wxMjA3fDB8MXxhbGx8NHx8fHx8fDJ8fDE3MjY3MzI4NTl8&force=true&w=640`,// can also be a URLoffsetX: 0,offsetY: 0,width: 10,height: 10,coord: [13.437524,52.4945528]};map.addMarker(marker);awaitmap.render();awaitmap.image.save(path.resolve("./image.png"));
marker height and width option does not take effect in final result no matter how I tweak values !
The text was updated successfully, but these errors were encountered: