dump1090 icon indicating copy to clipboard operation
dump1090 copied to clipboard

add OpenAIPMap & OpenCycleMap; add extended marker info; add label to marker

Open chrisli-m opened this issue 10 years ago • 6 comments

Hi, thanks for your work on dump1090. I made some improvements on the airplane visualization of the embedded webserver. Added possibility of extended onmouse over info, possibility of labels next to the marker and added some new charts (OpenCycleMap & OpenAIPMap). If you like you could integrate it into your development. Greets Christian

chrisli-m avatar Jan 02 '15 17:01 chrisli-m

also added configuration entry for setting standard maptype

chrisli-m avatar Jan 03 '15 17:01 chrisli-m

On a related note, see changes to config.js at #18, where a similar map tile config option is added.

There, I did things a bit differently; a tile URL template can be provided. This is more flexible, since any URL can be chosen; however, it is, of course, more difficult for users to make use of this.

However, perhaps some mix of these two methods can be used.

Either way, I like your idea :-).

hhm0 avatar Jan 04 '15 03:01 hhm0

Hi, thanks for your response. I had a brief look at your code but thats not what I intended to do with my changes. I want the user be able changing the default map. That map which is selected if you load the site. So the user hasn't to change the map hisself everytime he loads the site.

In your option you could not select Google Maps with providing the tile address. The second thing is, I added some more maps and also maps with overlays and TMS style. eg. OpenAIP. So only one address is not enough to provide that. You have to flip y for some maps and add overlay images. Doing that all in a config file with so many parameters is not what a config file should be. Besides, I think it would be much to difficult for users.

A mix of the ideas could be a new file, providing all these parameters in an array and some templates for Google Maps, and tile maps and overlays. But how often the parameters are changed by user? I think if users change that they can also doing the changes in script.js with their experience.

So I think it is much better set the mapadress in scripts.js where all map related stuff is done and only select the default map with the mapTypeId setted in the scripts.js

Greets

chrisli-m avatar Jan 04 '15 14:01 chrisli-m

i have add all of these functions and more in my fork

steel101 avatar Mar 16 '15 16:03 steel101

demo at http://bitropy.net:8080

steel101 avatar Mar 21 '15 22:03 steel101

just inserted the code in to my fork it has this and plane count and plane count in title and signal and settings page and lots more including almost all pull request here demo at http://bitropy.net:8080

steel101 avatar Mar 22 '15 20:03 steel101