Updated to include onResult method for mapseries
included error and results
updated readme for new usage