- search: remove tooltip from DOM immediately instead of setting up a new instance (which would have other options)
- sidebar toggle: remove tooltip upon click, tooltip might persist otherwise
- close other tooltips before opening a new one
- canvas - overheads directly related to the number of drawn items, so limited overdraw
- svg desktop - can handle large amounts of overdraw ok, so allow 100%, so known items don't vanish during most map panning
- svg mobile - mobile struggles more, so limit svg overdraw
- collapse chat before entering privacy view
- don't allow chat to expand when in privacy view
- disallow pointer events for the leaflet-control placeholder so ic can be clicked through
improvements could be made to our version handling (currently we just take their version string and assume it'll work, with no checks for changes - needs some thoughts on sensible handling)
it's pretty subtle, and was preventing clicks through it. also, some icons (e.g. the dynamic svg DivIcon from draw-tools) didn't use one, so it seems odd to have a mixture of some with, some without shadows
- no GUIDs in chat for players or portal details - so remove player GUID related functions
- remove player guid code from COMM
- update portal_info functions to compare to player name rather than guid
- updated Google, Bing and Yandex externals from https://github.com/shramov/leaflet-plugins
- also renamed Google file, removed internal hacks for INGRESS map type
- used external included file for Bing maps, instead of embedded in the plugin
- used Google map tile API to set the options for the INGRESS and 'Google Grey' map layers
this gives a simple method of expiring entries. also, prevents localStorage from filling up with thousands of player names over time
(ideally something controllable with configurable age should be used, but this was a quick and simple change to try first)
the existing idle resume function can be used on returning to iitc
also, fix the long-standing bug on mobile where the map disappears after repeated touch panning/zooming. seems leaflet gets confused about zoom levels and ends up with a non-ingeger. when this is found, force it back to an ingeger zoom level when this happens