On 11/06/2014, 5:02 AM, Céline b wrote: > I would like to set zoom mouse control in rgl in order to redraw the map > with more or less details depending of the zoom coefficient (such as google > maps or openstreetmap do). > > I already tried the rgl.setMouseCallbacks(button, begin = NULL, update = > NULL, end = NULL) function but this function do not seem to work with > trackball (only left, middle and right click). > > Thus the question is :is it possible to modify trackball function using rgl ?
When you say "trackball", do you mean the mouse wheel? If so, the answer is no, it can't be modified, but it does seem like it would be a good idea. I'll add it to the to-do list. Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.