I am following the steps in the below link to locate my location using GPS (point on the map), I got an idea that requires to draw a line between multipule points (ex. a line from point 1 to point 2 to point X .. etc).
What are my options in doing so?
http://www.codeproject.com/KB/windows-phone-7/simplegps.aspx
thanks,
You could consider using a thirdparty library from ESRI. Look for the ESRI Silverlight and Windows Phone SDK. You will need to create an account on the Esri site, but it's for free (and so is the sdk). It has ton of options that the current lib from microsoft doesnt have.
Related
I'm trying to use the Sensor Tile from ST. I downloaded the project, but when I tried to rebuild it in ST it issues this error:
Error[Li005]: no definition for "__iar_FSin" [referenced from motion_fx.o(MotionFX200_CM4F_IAR_ot.a)]
Does someone know?
You need to recompile the MotionFX200_CM4F_IAR_ot.a library with the same version of EWARM as you use for your application.
From the error message it looks like you are trying to link a library built using EWARM 7.XX into an application using EWARM 8.XX. The step from 7.XX to 8.XX breaks binary compatibility on a number points, including the floating point library implementation.
I already import open street map Library(link of GitHub) in my application and it works completely (I used osmdroid + osmbonuspack)true , but i need to have my country map for offline mode . I used of mobile atlas creator for creating my Country map but mobile atlas creator doesn't allow me creating huge map.
What i have to do ? I want to have maps like maps.me in my application
please help me , I am working at this more than 2 weeks .
Thank you
I used the osmdroid-forge-app sample app from https://github.com/osmdroid/osmdroid/ as a starting point and downloaded the offline map files for my country from http://download.mapsforge.org/maps/ .
That worked for me out of the box.
maps.me very likely uses vector maps instead of raster tiles.
Take a look at Mapsforge or Mapbox Android SDK / Mapbox GL for vector map solutions.
Make more than one map archive or hack up Mobac to remove the limit
I need to create path exactly according to road coordinates from google map api.I am partially successful with the help of this "http://maps.googleapis.com/maps/api/directions/json?&origin=%#,%#&destination=%#,%#&sensor=false" service.
But this service provide me the coordinates as show in this image .
When we zoom this path it looks like this image .
Actually, I want to get exactly road coordinates with every curve.
Firstly I did this task with the javascript file which was in one of the tutorial of google map (SBMapwithRoute)but don't know why that javascript file stop responding now.
If any body know how this task will perform than please help me.Thank you
I have posted one artical on my blog may be help full check it
http://www.jogendra.com/wayPath
May be hellfull for you
if you wants get waypoints from your google maps waypath. then use this
NSMutableArray *wayPointsArray = [self decodePolyLine:polyline.path.encodedPath];
here decodePolyline is function that you seen on my blog
polyline is object of GMSPolyline *_polyline;
Thnaks
i am doing GPS based application with the functionality of showing current location and with walking moving it should show the path tracing at stop command gives the distance .(i go through apple documentation but not getting clearly many things .)
what i have done
i have added map view, showing current location .
need to be done .
Should i required the GeoJSON file for showing sub way path on the map .advice me in best way and please give me step flow to achieve this .
thank you in advance .
Check out the breadcrumb sample code from apple which shows how to do this- http://developer.apple.com/library/ios/#samplecode/Breadcrumb/Introduction/Intro.html
The GeoJSON file is only for integrating with apple maps app.
I'm thinking about creating a location-aware iPhone app that could work offline by coming packaged with a list of points of interest (POIs). The app would read the user's current location from CoreLocation and produce a list of the POIs in order of proximity to the user's current location.
I need two basic geospatial functions to get this application off the ground. The first is a function that tests if a point (the user's current location) lies within certain geospatial boundaries. The second is a function that can give me the distance between two lat/lon points. I would use the second function to sort the list of POIs by proximity to the user's current location.
I understand that this problem area is well traveled and there are open-source options. The leading candidate (that I know of) is the GEOS C++ library. The way I imagine I would use this is by compiling GEOS as a static library (and linking as a project dependency, as you do to include the three20 library.)
My question is:
What is the best way to get the two necessary functions into my application.
If the best answer to question 1 is compiling GEOS as a static library and linking it to my project, could anyone who has done this before offer some pointers? I'm a novice at compilation, static library building, etc. I would love to see some example code or tutorials on how to get GEOS compiled and included in a project with a trivial example usage.
Ok, it took me some time but now I think that I'm properly able to build the static libs or GEOS for iPhone (x86 and ARM for both the simulator and the real device) : libgeos.a and libgeos_c.a : the implementation and its api.
You can get the binaires there (for GEOS version 3.1.1, this is not the very last one) :
http://bit.ly/aTKsI6
(there are some other binaries there, the rest is for spatialite)
The job has been mostly achieved by understanding the way cross compilation is done via .sh scripts. This blog is a must see for that : http://robertcarlsen.net/2009/07/15/cross-compiling-for-iphone-dev-884
For distance between points, see CLLocation's getDistanceFrom: method.
I'm not sure what you mean by geospatial boundaries, but if you mean you have a rectangle defining a location, you can convert it to a CGRect, offset the latitude and longitude of all of your points by 90 and 180 respectively to make sure you don't have negative numbers, convert your CLLocation objects to CGPoints, then use CGRectContainsPoint to figure out if your location is within that rectangle.
All of the described functions are part of the standard iPhone SDK.