> do you have a link to one map xela that uses an else to look up an IP from
> maxmind. i cant work out which parts of the code max mind is using in the
> examples you gave ip2.php?

maxmind is very simple to use. all you need to do is include this when
you are calling scripts:

<script type="text/javascript" src="http://j.maxmind.com/app/
geoip.js"></script>

and then within your else statement you can get the lat and lng by
doing this:

var Maxlat=geoip_latitude();
var Maxlng=geoip_longitude();
var latLng = new google.maps.LatLng(Maxlat, Maxlng);


the rest is basically the same as what you have got, you can just copy
it. give it a try.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to