Two map instance in conflict

i have one map with more than one marker, and another with just one.
When i enter the first map and then i go to the second, the second has the markers of the first one. is there a way to remove the first instace of the map to prevent that to happen. I am using cordova google maps plugin with ionic native.