ntop / ntopng

Web-based Traffic and Security Network Traffic Monitoring
http://www.ntop.org
GNU General Public License v3.0
6.28k stars 656 forks source link

Change geo map provider #2960

Closed ingria closed 4 years ago

ingria commented 5 years ago

Google Maps changed their API and TOS some time ago. Now they require to have "billing" enabled for developer's account. Otherwise there's a gray rectangle instead of the widget.

Having active billing account causes some complications, aside from that "Geo Map" feature won't work out of the box. So I suggest switching to other map provider (like openstreetmaps). I can try to fix this, but I'll need some guidance.

I know there are already some other issues regarding this problem, but right now this is more like "bug report" than "feature request".

lucaderi commented 5 years ago

@ingria Thanks for the offer to help. Please tell what you need exactly for assisting you with this port to openstreemap

simonemainardi commented 5 years ago

@ingria please let us know if you need help. We would be happy to assist you.

ingria commented 5 years ago

Just general recommendations would be OK for now.

I was thinking about using leaflet.js, so that it will be possible to easily change data provider in the future (openstreetmaps/bing/google etc). But it will add extra frontend dependency. Is it fine?

simonemainardi commented 4 years ago

@ingria yes this is ok an sorry for this late reply, we missed the message

simonemainardi commented 4 years ago

@gabryon99 please take care of this

emanuele-f commented 4 years ago

We could also evaluate to use a more basic map like: https://nabeelshahid.wordpress.com/2015/02/13/jvectormap-javascript-html-svg-based-world-world-regions-territories-countries-maps-plugin

gabryon99 commented 4 years ago

Geomap provider change to OSM.