Extension points for plugins
mapdeck_dispatch(
map,
funcName,
mapdeck = stop(paste(funcName, "requires a map update object")),
mapdeck_update = stop(paste(funcName, "does not support map update objects"))
)invoke_method(map, method, ...)
mapdeck_dispatch
returns the value of mapdeck
or
or an error. invokeMethod
returns the
map
object that was passed in, possibly modified.
a map object, as returned from mapdeck
the name of the function that the user called that caused
this mapdeck_dispatch
call; for error message purposes
an action to be performed if the map is from
mapdeck
an action to be performed if the map is from
mapdeck_update
the name of the JavaScript method to invoke
unnamed arguments to be passed to the JavaScript method