{"id":139,"date":"2021-01-01T11:34:41","date_gmt":"2021-01-01T11:34:41","guid":{"rendered":"http:\/\/www.appsgeyser.com\/blog\/2011\/05\/06\/how-to-geolocation-apps-on-appsgeyser\/"},"modified":"2023-12-15T20:45:11","modified_gmt":"2023-12-15T20:45:11","slug":"how-to-geolocation-apps-on-appsgeyser","status":"publish","type":"post","link":"https:\/\/appsgeyser.com\/blog\/how-to-geolocation-apps-on-appsgeyser\/","title":{"rendered":"How-to: Geolocation apps on Appsgeyser"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" style=\"background-image: none; margin: 0px 26px 0px 0px; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;\" title=\"image\" src=\"http:\/\/www.appsgeyser.com\/blog\/wp-content\/uploads\/2011\/05\/image_thumb1.png\" alt=\"HTML 5\" width=\"212\" height=\"240\" border=\"0\" \/>As you may remember from our post about SXSW two weeks ago, we said that Geo-locations is a hot and trendy topic these days. We found the same to be true at the Appnation conference in San Francisco. We\u2019ve heard a lot of people talking about creating or using geo apps, and we\u2019ve seen several of our users creating geo-related apps using HTML5.<\/p>\n<p>We were interested to see how many Javascipt-savvy people are creating apps on AppsGeyser that use HTML5 geo-location capabilities, and we found a several examples.<\/p>\n<p>Here are the steps to take to help you get started:<\/p>\n<p>1) Create your app using <a href=\"https:\/\/appsgeyser.com\/create\/start\/\">Appsgeyser.com<\/a> (use <a href=\"http:\/\/html5demos.com\/geo\" target=\"_blank\" rel=\"noopener\">http:\/\/html5demos.com\/geo<\/a> as a mobile site URL to test).<\/p>\n<p>2) Access your dashboard edit page.<\/p>\n<p>3) Click the \u201cadvanced\u201d tab and turn the location checkbox on.<\/p>\n<p>4) This will allow your App to access geo locations using HTML5.<\/p>\n<p>Here is a Javascript sample to use in your app to get the location:<\/p>\n<pre style=\"font-size: 14px;\">function success(position) {\nalert(position.coords.latitude);\nalert(position.coords.longitude);\n}\n\nfunction error(msg) {\nalert('error');\n}\n\nif (navigator.geolocation) {\nnavigator.geolocation.getCurrentPosition(success, error);\n} else {error('not supported');\n}\n<\/pre>\n<p>So if you are looking to create the next Foursquare or Gowalla phenomenon, Appsgeyser is a pretty easy place to get started.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you may remember from our post about SXSW two weeks ago, we said that Geo-locations is a hot and trendy topic these days. We found the same to be true at the Appnation conference in San Francisco. We\u2019ve heard a lot of people talking about creating or using geo apps, and we\u2019ve seen several [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts\/139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/comments?post=139"}],"version-history":[{"count":0,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"wp:attachment":[{"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appsgeyser.com\/blog\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}