Community Questions & Answers
draw route between point A and B in Titanium Android Project
Hi; Here is my code: ~~~ Ti.UI.setBackgroundColor('#000'); var tab1; function decodeLine(encoded) { var len = encoded.length; var index = 0; var array = []; var lat = 0; var lng = 0; while (index < len) { var b; ...
Show my current position, convert my latitude and longitude to address and post it to facebook
Hi, I want to show my current position, convert my latitude and longitude to address and post it to facebook, how can i do that? Thanks or your help
Annotation isn't shown correct on map?
Hey, i am trying to use a mapview in my application .... For a test i wanna add an annotation on my hometown. (Oldenburg, in Germany) From google i've got these data: "latitude":'53.136765', "longitude:":'8.216524', But for some...
Undefined results using Geolocation on iOS device
Hi there, Hopefully a quick one here. I'm trying to capture the users lat/lon as part of my app. I've used the same (or similar) code in another app with no issues. So unless I've made a schoolboy error, I'm not sure what I'm doing wrong. The latitude...
Returning longitude and latitude from address input?
Hi, Can you return longitude/latitude from a textField? I'm trying to allow the user to do radius based searches off our database, but need to pass long/lat to my php function to return the correct results. Thanks!
Getting the longitude and latitude of the center of the map.
I have a map view and I would like to get the longitude and latitude of the center of the map. So when the map is move, I am able to keep getting the longitude and latitude of the center of the map view. Is this possible? If it is possible, what should I...
Mapview: How to update region?
Hello, there is something i don't understand with mapView. The region is our current screen position no? I need to get my current screen location but when i add a button to get my mapview.region.latitute for exemple, it is always the same :/ . Maybe region...
Returning longitude and latitude from longpress event
Hi! I share my code for MapView latitude and longitude of the user event longpress. I have not seen this code in the forum: Sorry :( I don´t speak good english ~~~ //si cambiamos la región actualizamos las...
Convert longitute/latidute to pixels
Hi all, I'm searching for a way to convert longitute/latitude to pixels relative to a Map view. Basically, I'm looking for something similar to Projection.toPixels(), as described...
Convert X,Y coordinate to lat& lag
I make an application to use google maps ,I want to get the latitude and the longitude of any point if i know the values of X,Y coordinates.... any help???
How to convert X, Y coordinates to latitude and longitude in mapview
I can get X,Y coordinates in mapview click event and to put an annotaion on map view i want to convert these X,Y coordinates to longitude and latitude. If anyone knows about such a method that i can use , plz post the code here.
Persistant GPS radio
When the location event fires for the GPS, it cuts the GPS radio on, gets the coords, then turns the GPS radio off. Is this by design, or is there something I'm not doing? ~~~ Ti.Geolocation.purpose = "GPS...
map latitude and longitude
hi all i am using android , how can i get latitude and longitude when user click on map. i can get x and y when click, but i want ti know lat and long of clicked location ? any help !
getting location data
i want to know the lat/long from where the user clicked on a map... like, the user clicks somewhere on a map, and i want to show him the lat/long and nearest city. how do i get it? edit: i use sdk 1.6.0
Retrieving data from sqlite db
Hey Guys, I can plot a point on the map, no problems there. What I'm trying to do (for the initial stage) is to get this data from a sqlite database. I've setup a DB with a table called Places. Field names Lat and Long, both integers. 1 row of data -...
Showing maps using an address
This may sound like a simple problem but I have an application which pulls data from a database and clicking on an address calls appcelerators mapview function and show a map (which all works fine). However, I don't have the long and lats for any...
Get Annotation Coordinates In Map View
Hi there, I have been developing an app for some time which show locations for users using the mapview. One of the key features of the app is that you can add your own locations via a simple html form which when submitted the data is sent to me and i...
Search SQLite Database for the next POI
Hi All I have a local database with points with Lon and Lat coords. Im looking to get my GPS Lat and Long coord and see which is the closest. Ideally i would like to know which direction they are heading adn which point is coming next. for...
Identifying closest Lon and Lat based on iphone position
Hi All I know this is a big oneand have read many threads but I'm struggling here. I have looked at the following formulas at: http://www.movable-type.co.uk/scripts/latlong.html I need to query the sqlite database and find the closes record to the...
sqlite functions
I have a sqlite db that has lat/lon positions of train stations and I want to see which is the closest to the users geo location. I have a distance function in js but how do i register that function with sqlite.
Showing 1-20 of 20