Internal method for submitting a new mode. Deprecated. Use tmapSubmitOptions() instead.
tmapMode(id, name, ..., styleOptions = NULL)id of the mode: please use lowercase and one-word. This will be used with tmap_mode().
name of the mode: please use title case. This will be used to recognize internal functions, e.g. tmapLeafletInit
mode specific options