ThingPulse / esp8266-plane-spotter-color

Color version of the ESP8266 Plane Spotter
MIT License
74 stars 17 forks source link

Map scale and virtualradar distance range [not a issue] #1

Open reaper7 opened 7 years ago

reaper7 commented 7 years ago

It is possible to add dependence between: fDstU inside virtualradarserver query and scale (MAP_SCALE) inside mapquestapi query ?

In this moment, when I extend range inside virtualradar query for eg. to 25km map is still in smaller scale and do not show extended area.

squix78 commented 7 years ago

Very good point. I actually have it almost working: everything should be dependent from the scale. The problem is that mapquest doesnt give me boundaries of the map and my calculations seem to be off... Any idea how to calculate the boundaries?

Sent from my iPhone

On 5 Jan 2017, at 12:17, reaper7 notifications@github.com wrote:

It is possible to add dependence between: fDstU inside virtualradarserver query and scale (MAP_SCALE) inside mapquestapi query ?

In this moment, when I extend range inside virtualradar query for eg. to 25km map is still in smaller scale and do not show extended area.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

reaper7 commented 7 years ago

I see that mapquest api ignores values not listed in table: https://developer.mapquest.com/documentation/common/zoom-to-scale/ this problem complicates the calculation :(