How to get a users approximate location without triggering the "Location Request" dialog

Hi there,

So I have an application which uses the Google Maps API, and I have a worldwide map which shows markers for each event. You can barely make out the state for a marker, but right now the API I am using triggers the location request dialog in Google Chrome. I know that you can do an online IP lookup and get the approximate location of a user online, is there an easy way to do this in my app? Since I am using the Google Maps API I need it to return the longitude and latitude to pass to my markers collection.

Since it is just a decorative feature accuracy is not relevant.

Thanks!