Fabiz / PeakFinder-API

Demo Page form embedding the PeakFinder API
MIT License
28 stars 1 forks source link

REQUEST: Add some functionalities #3

Closed salsa-barbecue closed 2 years ago

salsa-barbecue commented 2 years ago

Hi, I would like to know wether the following functionalities are going to be added or are already present in the API:

Fabiz commented 2 years ago

Set the background to transparent

Setting the background to transparent is not possible. But setting a color works now.

Show the delta from the current position for the heights of the mountains

Can you give me more details about the use case you have?

Set height and distance to 2 differents units of measurement (ex. heights in feet and distance in Kilometers)

Are there some countries with mixed units?

salsa-barbecue commented 2 years ago

I need to see the difference of height between the origin point (the one which latitude and longitude i use to set the canvas) and the points i see. I can't give away any details about the application I'm developing. There are no countries that i know of but helicopter pilots use imperial for height and metric for distance.

Fabiz commented 2 years ago

How would select the 'points you see'? Do you know the coordinates of these points? In this case you could use an elevation lookup api like: https://developers.google.com/maps/documentation/elevation/overview

I can add support for imperial-height and metric-distance in a future update.

salsa-barbecue commented 2 years ago

I don't use coordinates i need to look at the 3d projection of the mountains and use the telescope

Fabiz commented 2 years ago

I don't use coordinates i need to look at the 3d projection of the mountains and use the telescope

Would it be helpful when I add functions to get the data from the telescope (coords, azi, alt, elevation, distance) and the current viewpoint (coords, elevation)? Then you can do the needed calculations on your side.

salsa-barbecue commented 2 years ago

Yes that would be perfect

salsa-barbecue commented 2 years ago

Hi, any news about these updates?

Fabiz commented 2 years ago

Hi Luca

I’m very sorry for the delay. I’ll add this functionality next week to the api.

best regards Fabio

Am 04.07.2022 um 14:07 schrieb Luca Leone @.***>:

 Hi, any news about these updates?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

Fabiz commented 2 years ago

Hi Luca

I just released the API updates. Here you'll find a simple example for the telescope functions: https://fabiz.github.io/PeakFinder-API/basicexample_canvas_telescope.html

Please tell me if this works for you or if you need additional functions.

Fabio

salsa-barbecue commented 2 years ago

Hi, thanks for the telescope functions, I can't see the function to get the current viewpoint elevation in the documentation though. Have you added it yet?

Fabiz commented 2 years ago

Hi Luca

I just added the function for getting the elevation from the current viewpoint.

best regards, Fabio

Am 06.09.2022 um 09:33 schrieb Luca Leone @.***>:

Hi, thanks for the telescope functions, I can't see the function to get the current viewpoint elevation in the documentation though. Have you added it yet?

— Reply to this email directly, view it on GitHub https://github.com/Fabiz/PeakFinder-API/issues/3#issuecomment-1237767881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJJRBWYGFOQGIMKGHEKDVTV43XU3ANCNFSM5VCHCY2Q. You are receiving this because you commented.

salsa-barbecue commented 2 years ago

Thank you