I have added a custom marker to the map but it is huge. It seems that it does not matter what size the original image is, it always ends up the same size on the map. I have tried a few things in 'MarkOptions' to try to set the size but I get an error. I can't find any documentation regarding this. Does anyone know the correct syntax to set the size of the marker in MarkerOptions?
Hey @Joe Kelly ,
Can you try
"{ scaledSize: Size { width: 50, height: 50 } } ", and check if works.
or use
{ scale: X } try 1 or 5 to check if changes
Hi. That still gives the error unfortunately!
@Joe Kelly needed update the answer can you retry ?
Hi Ricardo. "{scale: X}" does not give an error but it also does not change the size. I tried 1, 5 and 0.1 but the marker remains too big.
Hi Joe Kelly,
Resize Image width, Height 32*32. Your issue solve.
MapList.List.Current.Map.Url is "/Operations/img/blue.png"
Thanks,
Ramesh
Hi Ramesh. It doesn't make a difference what size the file I add is. It appears the same on the map.
Actually "{ scaledSize: 1 }" does work. I don't think my phone updated the app properly on publish. Thanks.