map geolocation, losing a few functions to the plugin