Added new example for setDataStreamming and updated locator example to the new correct form