55
Views
7
Comments
Solved
[Google Maps Library] Google map component MarkerOptions
Question
google-maps-mobile
Reactive icon
Forge asset by Labs
Application Type
Mobile

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?



Capture.PNG
Error.png
Marker.png
2026-01-29 14-32-44
Ricardo Santos
Solution

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



UserImage.jpg
Joe Kelly

Hi. That still gives the error unfortunately!

2026-01-29 14-32-44
Ricardo Santos

@Joe Kelly needed update the answer can you retry ?

UserImage.jpg
Joe Kelly

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.

2025-10-18 11-13-53
Ramesh subramanian

Hi Joe Kelly,

Resize Image width, Height 32*32. Your issue solve.

MapList.List.Current.Map.Url is "/Operations/img/blue.png"


Thanks,

Ramesh

UserImage.jpg
Joe Kelly

Hi Ramesh. It doesn't make a difference what size the file I add is. It appears the same on the map.

UserImage.jpg
Joe Kelly

Actually  "{ scaledSize: 1 }" does work. I don't think my phone updated the app properly on publish. Thanks.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.