I have a my location widget that has the code.
{
"locateButton": {
"geolocationOptions": {
"timeout": 15000
},
"highlightLocation": true,
"useTracking": true,
"scale": 1200
}
}
the scale command give a perfect scale.
but if I zoom in or out it resets after 15 sekund. ( I can change reset time to what ever I want)
I'm trying to get it to stay at the zoom lvl the user sets after first positioning.
If i remove scale is goes to maz zoom every 15 seconds
I have try to use :
{
"locateButton": {
"geolocationOptions": {
"timeout": 15000,
"setScale": false
},
"highlightLocation": true,
"useTracking": true
}
}
but the it zooms in to max and stay the. I can't zoom out.