Google Maps API v3 - Geometry Library, Spherical Namespace - interpolate() method
References:
ul
lihttps://developers.google.com/maps/do.../li
lihttps://developers.google.com/maps/do... /li
lihttp://webcache.googleusercontent.com.../li
/ul
I was pleased to see that Appery already has a component for Google maps. In fact, I went through the Appery tutorial at http://docs.appery.io/tutorials/build... because it closely resembles the actual code provided by Google. This tutorial helped me to partially understand how Appery has built its own map component to facilitate use by its users.
I would like to use the eminterpolate()/em static method in the Google Maps API (v3) Geometry Library -- a method which is in the "spherical" namespace. Please see the references, above, for detailed information on this.
After some testing, I'm guessing that the Geometry Library wasn't included by default in Appery along with the Google Maps API (component). I could be wrong.
Since Appery automatically includes the Google Maps component, I'm assuming that the Maps API JavaScript library code"https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true_or_false"/code is already added somewhere.
If my assumption that the Geometry Library not being already included is correct and if I understand a few other things, it's just a question of modifying this line to: code"https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true_or_false&libraries=geometry"/code
Or, for all I know, there may be another best practice that I should be using while developing within the Appery framework. I'm a little shy to move forward since I'm having to implement things on top of Appery's existing framework.
Could we open up a small dialogue on this here? My questions are, is the Geometry library already included with the Appery Google Map Component? If it is not, what is the best way to start using this library? What should I do? Could you provide an example of what code I should add and where I should add it in order that I might begin using static methods such as eminterpolate()/em in my Appery client Javascript code?