9
Views
2
Comments
[Google Maps Library] Marker Options Size does not work
Question
google-maps-mobile
Reactive icon
Forge asset by Labs

Hello i want to ask about Marker Options in Google Maps Library,

i tried to use:

"{

size: new google.maps.Size(20, 32)

}"

but get "error parsing options JSON string. Using default options." warning message.
can anyone help and maybe give .oml example. thanks!

2023-11-23 06-44-08
Alif

maybe u can try this on MarkerOption

"{

size: 1

}"

or

"{

scaledSize: 1

}"

2024-03-21 06-51-55
Joshua Benaya

Hi Alif,

i've tried use your solution. it do not trigger the "error parsing options JSON string. Using default options." warning message. But it also did nothing to the icon size (still showing the original size)

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