Page 1 of 2
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Wed Dec 04, 2013 5:36 am
by Crystal
Hello,
Firstly,I have known two points of latitude and longitude, and then according to the two points of latitude and longitude displayed on the map the exact location of these two points, and then the two addresses connected with lines.But to be refreshed many times that line will be displayed.What's the reason?
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Wed Dec 04, 2013 7:06 am
by Maryna Brodina
Hello! Sorry, not sure I understand. Could you post code you use to show line, any screenshots how does it look like? Also please clarify what do you mean on "to be refreshed many times that line will be displayed"?
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Wed Dec 04, 2013 7:50 am
by Crystal
When I click the Location button then it will jump the screen of google map.Then at the screen of google map is loaded it likes this
The problem is when I want to get that I will refresh the screen many times,the line between London and Paris will appear.(Precondition is that I have already known these two locations in latitude and longitude)
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Wed Dec 04, 2013 9:02 am
by Maryna Brodina
Could you give us your public app link so we can test it?
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Wed Dec 04, 2013 9:13 am
by Crystal
Hello,
You can test it.(Click the Location button)
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Wed Dec 04, 2013 9:16 am
by Maryna Brodina
I need you to post public app link. Take a look here please http://docs.appery.io/documentation/s... (see Sharing_app_link section)
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Thu Dec 05, 2013 1:00 am
by Crystal
Yes,I have posted public app link.
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Thu Dec 05, 2013 1:22 am
by Alena Prykhodko
Hello Crystal! To what app do you refer? Please post its public link here or send to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a/
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Thu Dec 05, 2013 2:07 am
by Crystal
The app is Map.I have shared the app again.You can try it again.
Know two points of latitude and longitude,and then the two addresses connected with lines.
Posted: Thu Dec 05, 2013 9:00 am
by Maryna Brodina
Hello!
1) In directions js in the beginning replace prevar directionDisplay;/pre with prevar directionsDisplay;/pre2) On Load event of Location page add code preinitialize();/pre3) In googleMap JS asset is running before page is loaded. You won't be able to call that code later. Wrap code in function.