QR code format for geolocation - iphone

I am developing a QR code generator where I need to make QR code codes for various datas. One of them is geolocation and social network (likes in Facebook and follow in Twitter).
I am okay with other formats however the above two items are still not clear to me. What is the specific format to get them done?

A geo URI may be used to encode a point on the earth, including altitude. For example, to encode the Google's New York office, which is at 40.71872 deg N latitude, 73.98905 deg W longitude, at a point 100 meters above the office, one would encode "geo:40.71872,-73.98905,100".
A reader might open a local mapping application like Google Maps to this location and zoom accordingly, or could open a link to this location on a mapping web site like Google Maps in the device's web browser.
Please follow the specific format.

QR codes store alphanumeric data. If you can write code able to read them (or integrate a third part library) you can do whatever you want with them, e.g. you can store coordinates in Well Known Format WKF
To like something from a QR code please refer to this answer: Facebook page automatic "like" URL (for QR Code)
Normally, Existing qr code readers expect an url.
With regard to the supported devices: all depends on the libraries used to read the qrcode, it does not depends on the device itself.

For a geolocation, expressed as latitude, longitude coordinate i would code this way:
uncoded coordinate in degrees WGS84: lat=48.123456 lon=-120.123456
for coded string multiply each coord with 1E6:
string reprsentation: "(48123456,-120123456)"

I implement a lat and lng coordinates map qr code on my qr code generator http://www.qrcode-generator24.com. Put the marker on the google map and the coordinates will be stored in a form like lng:39.7676745 lat:20.7634834. Bear in mind that not all qr code reader are able to recognize that content as map coordinates.

I did it by geo:lat(numerical value),lang(numerical value) to bring up the geo location qr code and it works good in any scanner.

Related

How to build a route from an array of coordinates in "flutter" using "Mapbox"

I am new to mobile development and have set myself the goal of creating an application that will follow me, the scenario is as follows, I launch the application, press a button and after that the longitude and latitude coordinates of my current location are sent to the server every 5 seconds, after about an hour- two walks around the city in the database there is an array of coordinates.
Next, in the application that I create on “flutter”, a map of my journey should be displayed. From the forums, I understood that "mapbox" is ideal for visualizing a route with lines between coordinates, but I could not find tutorials on how to do this with an array of coordinates. Please tell me where to learn how to work with this library.
In the official docs, I couldn't figure out what I need to learn. Maybe you know sites with recipes or with ready-made examples of building routes using an array of coordinates? Thank you in advance.
I could not find tutorials on how to do this with an array of coordinates. Please tell me where to learn how to work with this library. In the official docs, I couldn't figure out what I need to learn.

mapquest drag map poi market and have the long / lat poipulate into long / lat form field

Having spent well over 5 hrs trying to get this working i now concede defeat and ask for assistance
there is a find long / lat mapquest leaflet tool that allows thew user to enter an address the the long / lat position is diaplyed on the map and displaying the o ords in a div above the map as you move the map pin the co ordinates change
I need to have this identical functionality working on my site (yes i am a mapquest subscriber)
wondering if anyone has the raw code that does this. The hours i have spent trying to duplicate the mapquest find long / lat topol on my site has got me nowhere
I need the long / lat to appear in a long / lat text field in a form on the page as i need to then submit that form so my site can process the long / lat values based on the final position the user has placed the map pin.
IF anyone knows where i can find the specfic code to achieve the above or a tutorial that shows the necessary steps that would be fantastic
The map quest / leaflet long / lat finder tool has so much unrelated code to what i simply need to achieve the above its impossible to get it working for me anyway
You can use the MapQuest geocode plugin for Leaflet to put an address on the map. The Geocoding and Handling POI Markers with Popups sample shows how to grab the lat/lng returned by the geocode request.
If you need the lat/lng from a map click the grab the coordinates from the event returned by a map click event.
map.on("click", mapclicked);
function mapclicked(e) {
console.log(e.latlng.wrap());
}

How can i create a google maps URL that will bring up a map of somebodies current location, and bring them to a specific address?

For example, http://maps.google.com/maps?q=to+chicago&hl=en&sll=40.680638,-89.846191&sspn=4.715299,9.865723&vpsrc=0&t=h&z=10 will bring you from your location to Chicago, although im not sure how the geocoding works. This is going in an iPhone app where the person will need specific directions from where they are, to a given location. Its web app based, so if it works on the computer, it will work on the phone.
enternet is full of open source projects you looking. for example: https://github.com/route-me/route-me
I would set up a script that can put the address at the end of a maps.google.com query url.
maps.google.com query url's look like this http://maps.google.com/maps?q=37.0625,-95.677068
you can places whatever you want in the query ex: http://maps.google.com/maps?q=los+angeles

Current Location to destination using mapview or google maps for the iphone iOS Xcode 4

SO I am a totally new and do not know where to begin. I basically want to create a view that shows the users current location and directs them to my set location (park, concert, business, etc.). It seems fairly simple but there is so much smoke and mirrors online that I do not know where to start or how to finish. Would it be easier to call to google maps or use the mapview in the SDK?
And the bigger question is how do you do this? I mean I can create simple views and load webviews but I can not figure this out.
Use MKMapView .. its fairly straightforward to set up -- you can get the current location from CLLocationManager and pass its coordinates to the map view.
http://mithin.in/2009/06/22/using-iphone-sdk-mapkit-framework-a-tutorial
Have a look at this website http://www.martip.net/blog/localized-current-location-string-for-iphone-apps
it will help you with the current location thing.
Directions are part of the Maps application and are not available in the MapKit API. To give your users Google Maps directions, you need to use the Maps URL scheme, as documented in the Apple URL Scheme Reference. Specifically, you need to include the saddr and daddr parameters in the URL, which specify the start and destination addresses for a directions search, respectively. I believe you can pass latitude/longitude coordinate pairs (comma-separated) for those parameters, but you’ll have to experiment a bit to find the correct formatting and order.
By "direct" do you mean actually show a path for how to get there? That there is no API for. You can place a pin anywhere on a map to show people where something is, but they have to figure out how to get there themselves.
The term you are looking for to add points to a map is adding Annotations to an MKMapView.
Have a look at this website it may help you http://www.raywenderlich.com/2847/introduction-to-mapkit-on-ios-tutorial

Is there any easy way to duplicate the search functionality of the Google Maps app on iPhone?

I'd like to be able to search and have the results pop up as annotations just like the Maps app on the iPhone. How do I go about doing it, and how difficult is it?
You need a forward geocoder to take a string (from your search bar) and find a list of possible matches, with coordinates and such. ... there isn't one included with the MapKit (only a reverse geocoder -- from coordinates to address string). However, there's a few services out that that do this. I think GeoSimple, CloudMaps, and a few others. The one linked below is an objective-c package that pulls results from Google Maps SDK.
http://blog.sallarp.com/ipad-iphone-forward-geocoding-api-google/