Skip to main content

How to use the map.zoom-to-scale in a custom command

Comments

2 comments

  • Pairin Mason

    Hi Frank,

     

    Please try the following:

    { "name": "map.zoom-to-scale", "arguments": { "scale": 9047 } }

    Our GXW API docs, you may find it helpful.

     

    Cheers,

    Pairin

    1
  • Frank Martin

    Hi Pairin,

     

    Worked like a charm!! Is there some documentation for the command actions? Might come in handy.. 😀

     

    Thanks so much,

    Frank

    0

Please sign in to leave a comment.