An Open Web Application Framework for Peer-to-Peer Location-Based Services