Page 4 of 6
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Fri Nov 21, 2014 10:33 pm
by islandvs
hello. I built a gps app as given in the appery tutorial which basically inputs lat/long details into my database. now I've been trying to map these lat/long on the map and have used the method above but am not able to figure out. My question is:
- do i need to invoke geolocation service if I already have lat/long.
- the lat/long is not in two different fields but in one field only (i created a geolocation column so it simply accepts lat/long in one cell separated by comma).
- if I do not use geolocation service, should i run the above java script on page load or on a button click
- in the code above, do i need to input the 'DB' name in Latitude_from_DB
- the above example does not include how to drop an animated icon
It would be simpler if you could advise what section of the tutorial is not required if I have to just load markers on the map of the co-ordinates that are being stored in my database.
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Mon Nov 24, 2014 12:53 am
by Yurii Orishchuk
Hello,
You don't need to invoke geolocation service if you already have lat/lng
Use JS code to get two separate values: someString.split(",");
More details: http://www.w3schools.com/jsref/jsref_...
You should use code when you need. If you need on button click - use it.
You need to pass latitude and longitude value there.
You can use "marker" to achieve this goal. Please take a look here: http://www.w3schools.com/jsref/jsref_...
Regards.
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Mon Nov 24, 2014 3:28 pm
by islandvs
Hi Yurii,
I divided the 'Places' column into place0 and place1 for separating the lat/long.
Also on point 5, you have put in the link for doing Stringsplit, I guess you wanted to show the "marker" related link here. Can you re post the correct link on getting the marker animation?
Much appreciated.
Vishal
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Tue Nov 25, 2014 12:03 am
by Yurii Orishchuk
Hi Vishal,
Please take a look at this tutorial: http://devcenter.appery.io/tutorials/...
There you can find information about how to work with google map api including how to add markers on the map.
Regards.
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Tue Jun 02, 2015 7:10 pm
by umama fakher
Why these links are not showing up? like every time click on the links you provided it says Not Found 
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Wed Jun 03, 2015 7:35 pm
by umama fakher
Hi, Can you tell me what to write exactly in place of Latitude_from_DB, Longitude_from_DB ? I want to know exact syntax?
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Wed Jun 03, 2015 8:00 pm
by umama fakher
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Wed Jun 03, 2015 8:04 pm
by umama fakher
I also wanted the samething. But I am stuck 
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Wed Jun 03, 2015 9:03 pm
by umama fakher
can you explain your service and mapping? and also this that the whole thing you did was only this or you also included some thing else?
Please I am working on this and I need help.
Thanks...
adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Posted: Wed Jun 03, 2015 9:05 pm
by umama fakher
Please can you explain the whole thing how you get to this. I really need help. I am also working on placing markers from database lat and long. And there is no way solution to that
.
Thanks in advance.