AnsweredAssumed Answered

MyLocation

Question asked by knozaki on Aug 19, 2014
Latest reply on Aug 20, 2014 by ddd475

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

  }

}

Outcomes