Select to view content in your preferred language

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

779
1
06-23-2020 12:40 AM
Status: Implemented
LudgerPaffenholz1
Emerging Contributor

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.

1 Comment
BjornSvensson
Status changed to: Implemented

This was fixed several releases ago. Sorry for the delayed response.