sketchViewModel create marker only on left mouse button click (JavaScript API 4.14)

Idea created by mitspass on Jun 23, 2020
    • mitspass

    With JavaScript API 4.14 there is the sketchViewModel.

    A nice tool to let the user add markers to a Layer wherever the user wants.


    A new marker is created in the layer when the user uses the left or right mouse button.


    The create action with the right mouse button doesn't seem right to me.