-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The iPhone supports geolocation in mobile Safari via the following call:
navigator.geolocation.getCurrentPosition(
function(pos){
var lat = pos.coords.latitude;
var long = pos.coords.longitude;
},
function(){
/* Handler if location could not be found */
}
);
I'd like to build…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here's my situation; I've built a very simple web app that looks up a users location and plots it on a Google map.
Here's my code: http://pastebin.com/d3a185efd
When I test it, my location is detected as being = 500 meters from where I actually stand.
BUT
When I open up Google Maps or Gowalla…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When trying to get geolocation on iPhone the first time - I declined.
Every other time I want to get the location (before another reload of the page) I get no response (no error and no success):
navigator.geolocation.getCurrentPosition(
function (location) {
ig_location.lat = location…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am looking for a good geolocation api to use from bash. I want this call to return at the very minimum the name of the city I am in, and the state.
I imagine that there must be some site I can curl, or some scripting language that has a package that works. The machine does not have a GPS, but it…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I just tested Geolocation on Firefox 3.6 and iPhone Safari (os 3.1.3), the result is interesting, firefox is more accurate than safari. any one got idea how to make iPhone Safari result more accurate.
this is the code for testing:
navigator.geolocation.getCurrentPosition(handler, {enableHighAccuracy:…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I've got a scenario involving two domains:
WordPress site hosted on domain1.com
domain2.co.uk, simply redirecting users to domain1 via mod_rewrite
This rule applies irrespective of whether www. is specified or not. (It's eventually removed from the URL, I'm a no-WWW fan.)
There's nothing on domain2…
>>> More
-
as seen on Pro Webmasters
- Search for 'Pro Webmasters'
We've had a website running on a .co.uk domain for some years, this domain is listed in the SERPS for our brand on both google.co.uk and google.com. We get little traffic from anywhere other than the UK because the website is targeted at the UK market with specific UK keywords.
This is great, however…
>>> More
-
as seen on SQL Blogcasts
- Search for 'SQL Blogcasts'
HiI will be speaking at the UK DevConnections on Analysis Services at the ExCeL conference centre in London on 13th-15th June 2011. Join top SQL Server names such as Paul Randall, Kimberley Tripp, Simon Sabin and Allan Mitchell ( to name a few), at the IT & DevConnections powered by Microsoft…
>>> More
-
as seen on Pro Webmasters
- Search for 'Pro Webmasters'
I currently run the site https://www.example.co.uk and I'm considering migrating to https://www.example.uk to take advantage of the new shorter domain.
When migrating the domain in Google Webmaster Tools...will all the authority from the old domain pass if I use 301 redirects?
Does anyone know how…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
hello,
I soon will be purchasing a virtual windows server and will be using IIS7
I’m keen for SEO purposes to 301 redirect any users from mydomain.co.uk to www.mydomain.co.uk, but as I have root access to my server I would like to use IIS7 rather than modifying my application
can anyone explain…
>>> More