On 2 Nov 2007, at 11:07, Intengu Technologies wrote:

> How do you automate zooming to an area depending on the city you  
> are in.  I have seen this in http://www.mapbuzz.com/
>

You need a database and code which translates an IP address to a  
physical location. There are commercial and free (for various values  
of free) providors of this type of data. Search for 'geo ip'  or  
'host ip' in google for a start. Once you've determined the location  
of your visitor you can write out your page containing your  
OpenLayers code with the appropriate location.

Cheers,

Andrew

-- 
Andrew Larcombe
Freelance Geospatial, Database & Web Programming

web: http://www.andrewlarcombe.co.uk
email: [EMAIL PROTECTED]
icq: 306690163




_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to