Upd locator example to use setDataStreamming instead of detectLocator, detectLocator() function has been deprecated in favor of setDataStreamming.