<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d601588505461698440', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks

Geolocation spoofing with Windows 8 Simulator

While working on a geo-location application, you would want to see how your app works for different coordinates.

Windows 8 has a very helpful simulator that makes testing your geolocation based web application or Windows 8 Store app, easy.

The Windows 8 Simulator exe can be found at this path (assuming your system files are in the C Drive): C:\Program Files\Common Files\microsoft shared\Windows Simulator\11.0

The Simulator can also be invoked through Visual Studio 2012.

Update: I noticed that this tool is available after you install Visual Studio 2010 Express for Windows 8 or VS  2012

Windows 8 Simulator

To change the default location's coordinates, select the Location icon in the Simulator & fill the latitude and longitude of the place you want to test your app for.

Update(29/Dec/2013): Chrome & IE11 now allow you to spoof latitude and longitude coordinates from their respective Developer Tools

Happy geo-location spoofing!

Related: Using the Windows 8 Simulator & VS 2012 to Debug the IE10 Touch Events and Your Responsive Design

Labels: ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »


Post a Comment