aboutsummaryrefslogtreecommitdiffstats
path: root/ipmap.html
AgeCommit message (Collapse)AuthorFilesLines
2019-02-16Re-implement "Map" feature for EndpointsPeter Wu1-0/+380
This feature was removed in v2.5.1rc0-427-gf529ab5d0a, anticipating that MaxMind would remove support for it in 2019. They have however changed their mind and maintained latitude and longitude information. They recommend displaying an accuracy radius, but the reported values are 50, 100, 200 and 1000km. When implemented literally, a marker in Ireland would cover the whole island plus mainland, so I have instead opted to use a fixed radius of 1km at deeper zoom levels. The old ipmap.html file was outdated and had broken tiles, I rewrote a new one from scratch using the light-weight Leaflet library combined with tiles from OpenStreetMap. This is more mobile-friendly and secure (https, SRI). To improve handling of nearby or overlapping nodes, clustering is used (individual nodes can still be inspected). Browser compatibility results: IE8 is unusable, IE9 partially works (tooltips sometimes disappear and the cluster radius control is gone), IE11 works. Of course Firefox 65 and Chromium 72 have no issues. The map popup description in the generated GeoJSON structure is now split in several properties, allowing presentation to be handled by the HTML page instead of the C code. Bug: 14693 Change-Id: If2ec9c518f7723ac0ab27b6272463356875a0ff2 Reviewed-on: https://code.wireshark.org/review/31952 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-03-02Remove the endpoint "Map" feature.Gerald Combs1-106/+0
Remove the endpoint map and its button from the Qt and GTK+ UIs. It depends on GeoIP Legacy for coordinate information and those databases are being deprecated in favor of MaxMind DB. We *could* upgrade the code to use mmdbresolve, but according to https://dev.maxmind.com/geoip/geoip2/geolite2/ they're also going to remove coordinate information from GeoLite2: "In addition, in 2019, latitude and longitude coordinates in the GeoLite2 databases will be removed.* Latitude and longitude coordinates will continue to be provided in GeoIP2 databases. Please check back for updates." Change-Id: I43e1593d282a0f1aae897b1f4724117d1496b21e Reviewed-on: https://code.wireshark.org/review/26229 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org>
2012-09-29Add wrapDateLine to support continuous longitudinal panning.Chris Maynard1-1/+2
svn path=/trunk/; revision=45213
2012-09-26Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5016 - No markers ↵Chris Maynard1-2/+2
show up when maps are displayed. #BACKPORT(1.8, 1.6) svn path=/trunk/; revision=45146
2012-04-05Instead of loading our coordinates from a separate text file viaGerald Combs1-21/+80
OpenLayers.Layer.Text, insert them into a JSON array and load them using OpenLayers.Layer.Vector + OpenLayers.Format.GeoJSON. This should fix the endpoint map feature on modern browsers. Switch OpenStreetMap to a simpler map from OSGeo. svn path=/trunk/; revision=41967
2009-06-14Use a unique data file name for our OpenStreetMap data. Print an errorGerald Combs1-1/+5
if we don't have data for any hosts. Fixes bug 3530. svn path=/trunk/; revision=28728
2009-02-17Make XHTML compliant.Jaap Keuter1-17/+18
Clean up indentation. svn path=/trunk/; revision=27472
2009-02-11add support for a simple GeoIP based IP Location Map, more details will ↵Ulf Lamping1-0/+41
follow on the dev-list svn path=/trunk/; revision=27433