I want to set a scale for MyLocation widget, so it would not zoom too much.
For JavaScript API, all I need to do was inserting scale:2400.
Syntax in the widget looks a little different from API Reference.
Please let me know which part is missing.
Thank you.
|
{
"locateButton": {
"geolocationOptions": {
"timeout": 15000
},
"highlightLocation": true,
"scale": 2400
}
}
|