Search found 140 matches

Go to advanced search

by ciccio
Thu Jun 27, 2013 12:06 pm
Forum: Issues
Topic: geolocation service always fails
Replies: 9
Views: 936
 
Jump to post

geolocation service always fails

i added a geolocation service in my app https://d2r1vs3d9006ap.cloudfront.net/s3_images/918243/geolocatinService_request_inline.jpg?1372334360 and i mapped it to two local storage variables (user_lat, user_lon) https://d2r1vs3d9006ap.cloudfront.net/s3_images/918244/geolocatinService_response_inline....
by ciccio
Mon Jun 24, 2013 9:05 am
Forum: Issues
Topic: Google maps wont center
Replies: 35
Views: 3310
 
Jump to post

Google maps wont center

could you upload the new link please

by ciccio
Mon Jun 17, 2013 2:45 pm
Forum: Issues
Topic: multiple location points from a REST + info window
Replies: 4
Views: 595
 
Jump to post

multiple location points from a REST + info window

i solved the problem by using the second code proposed by changing codeAppery("googlemap_2").gmap/code
with
codeinfowindow.open(Appery("googlemap_2").gmap ,marker); /code

by ciccio
Mon Jun 17, 2013 1:22 pm
Forum: Issues
Topic: multiple location points from a REST + info window
Replies: 4
Views: 595
 
Jump to post

multiple location points from a REST + info window

sorry, the code that i run on service success event is code var coordsArray = data&#46;coordinate; var marker; for (var i = 0, j = coordsArray&#46;length; i < j; i++) { marker = new google&#46;maps&#46;Marker({ position: new google&#46;maps&#46;LatLng( coordsArray &#46;la...
by ciccio
Mon Jun 17, 2013 11:11 am
Forum: Issues
Topic: adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Replies: 58
Views: 13663
 
Jump to post

adding-multiple-location-points-on-google-map-with-appery-io-backend-services

thanks Marina you are great,
I added another topic to solve a problem with multiple-location-points markers and info window.
thanks

by ciccio
Mon Jun 17, 2013 10:49 am
Forum: Issues
Topic: multiple location points from a REST + info window
Replies: 4
Views: 595
 
Jump to post

multiple location points from a REST + info window

how can add an info window to each of the multiple markers i loaded on my google map? As suggested me I run the following code on the REST service success event : var response = JSON.stringify(data); localStorage.setItem("list_coordinate", response); var list_coordinate = localStorage.getI...
by ciccio
Mon Jun 17, 2013 9:03 am
Forum: Issues
Topic: adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Replies: 58
Views: 13663
 
Jump to post

adding-multiple-location-points-on-google-map-with-appery-io-backend-services

thanks Marina, you have been very helpfull, I testes your code and it is fine. but just another question: how can i add markers on map without working with localStorage. what should i use to map the rest response instead of the localStorage variable list_coordinate? I tried to add var marker; for (v...
by ciccio
Fri Jun 14, 2013 3:17 pm
Forum: Issues
Topic: adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Replies: 58
Views: 13663
 
Jump to post

adding-multiple-location-points-on-google-map-with-appery-io-backend-services

i'm sorry, but could you explain how to define an array with coordinates in my data structure.??

should i map the response json to a localStorage variable and then add a JS: "var aLocations = new Array();
aLocations.push(value);" ?

by ciccio
Fri Jun 14, 2013 11:55 am
Forum: Issues
Topic: adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Replies: 58
Views: 13663
 
Jump to post

adding-multiple-location-points-on-google-map-with-appery-io-backend-services

thnks, i added the js "var response = JSON.stringify(data); localStorage.setItem("list_coordinate", response);" to the rest Success event. and i'm looking for how to loop on the list_coordinate variable to use all the coordinates i stored instead of Latitude_from_DB, Longitude_fr...
by ciccio
Fri Jun 14, 2013 10:40 am
Forum: Issues
Topic: adding-multiple-location-points-on-google-map-with-appery-io-backend-services
Replies: 58
Views: 13663
 
Jump to post

adding-multiple-location-points-on-google-map-with-appery-io-backend-services

hi katya, what should i do if i want to load a list of location with latitude and logitude collected from a REST service: i have a rest service wich get a json like { "coordinate":[ { "latitudine":"39,3006", "longitudine":"16.2546", "descr"...

Go to advanced search