Skip to main content

MapBuilder.OnClick Method

Name Parameters Description
OnClick(RazorBlock) jsFunc A function that is executed when any location on the map is clicked or tapped. Mirrors the client-side onClick option.
OnClick(String) jsFunc A function that is executed when any location on the map is clicked or tapped. Mirrors the client-side onClick option.