worked on crossdomain access and getting data from the database to display as markers on the map