206 Commits

Author SHA1 Message Date
Philipp Schaefer
57e972fe87 - don't hide layer-chooser in smartphone.css
- it's hidden in boot.js if iitc is booted with the iitcm android app
2014-07-23 02:35:56 +02:00
Jon Atkins
69f3fb211b try different vector overdraw amounts for different setups
- 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
2014-07-07 17:42:29 +01:00
fkloft
c6a6dc3105 Privacy view: accesskey (9) + fixes
- 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
2014-07-03 21:44:58 +02:00
Jon Atkins
5520f927a9 tweak leaflet map settings - no 'bounce' at zoom limits for touch devices. may prevent unnecessary redraws on mobile, which may help performance in some cases 2014-07-02 03:10:40 +01:00
Jon Atkins
a06a28de7b switch to newer jquery and jquery-ui versions 2014-06-28 06:05:22 +01:00
fkloft
d3fca8612c Move OverlappingMarkerSpiderfier from player-tracker to core. Implement for bookmarks and draw tools
(Markers added to OMS shouldn't use the "click" event but "spiderfiedclick")
2014-06-09 21:08:06 +02:00
Jon Atkins
a83688a4c2 niantic have removed all munging from the network protocol, so update IITC to match
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)
2014-05-30 22:42:00 +01:00
Jon Atkins
a05ac61cb4 update default and plugin base maps to allow zooming up to level 21, and scale the tiles when they don't support such a resolution 2014-05-29 01:23:25 +01:00
Jon Atkins
1e58fbbd44 missed a level-related change from previous commit 2014-04-29 04:33:45 +01:00
Jon Atkins
395502dcef update code to support extra level-related parameters supplied in the PLAYER object, negating the need for lists of XM and AP values per level 2014-04-29 01:09:30 +01:00
Jon Atkins
ffc056505f switch to non-minified leaflet-src.js (see 480381d5e970452a275aa44a0d3d168b0fd9cc2b) and enabled L_PREFER_CANVAS 2014-03-22 03:05:27 +00:00
Jon Atkins
eeed5e01cd remove marker icon shadow
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
2014-03-21 20:17:27 +00:00
Jon Atkins
61ed2307e4 turn off markers during zoom animations - let's see how that works... 2014-03-21 16:47:24 +00:00
Jon Atkins
4dd944a642 move portal level layer enable/disable out of status bar code into a map.on(zoomend) event instead 2014-03-19 04:44:20 +00:00
Jon Atkins
df4bf0bbc0 remove experimental exception catching code in boot func - was never that helpful 2014-03-18 22:14:55 +00:00
Jon Atkins
36fe84b4ef warn when some standard layers are turned off
not so visible for mobile users - but less of an issue there (as an uninstall/reinstall resets all options to default)
for #778
2014-03-04 18:42:45 +00:00
Jon Atkins
162ac6923e add code to detect known 'bad' plugins, and disable plugins in this case for user safety 2014-02-03 17:27:06 +00:00
nexushoratio
4775bca0d0 s/nxt/next/ 2014-01-08 00:02:50 -08:00
nexushoratio
78d42fa957 Minor typo in new code. 2014-01-05 17:05:15 -08:00
Jon Atkins
1a3d4faebe Merge pull request #718 from nexushoratio/proofreading
Fix a number of typos in comments and site content
2014-01-05 14:04:44 -08:00
fkloft
14d3fe82c2 Fixed zoom controls not being hidden on mobile 2014-01-03 20:06:38 +01:00
fkloft
58dc56283a improved debugging interface 2014-01-03 20:06:37 +01:00
fkloft
9208552e29 use custom protocol for resources 2014-01-03 20:06:37 +01:00
nexushoratio
537eeef539 Fix a number of typos in comments and site content 2013-12-29 04:09:37 -08:00
Jon Atkins
84fb672656 display a dialog when IITC fails to detect the munge set, making users aware of the problem. includes links to the IITC home page, g+ page and community 2013-12-26 22:07:44 +00:00
Jon Atkins
f43930768b experimental code: try/catch block around code in boot - to help debug iitc startup issues 2013-12-23 21:16:59 +00:00
Jon Atkins
138a37d777 first attempt at loading portal details, and displaying in the sidebar once loaded 2013-12-01 00:08:25 +00:00
Jon Atkins
e935902c49 misc fixes - some untested
- 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
2013-11-30 23:19:46 +00:00
Mike Castle
6fcbd90588 s/mazZoom/maxZoom/ 2013-11-24 23:16:53 -08:00
Jon Atkins
9d16b03632 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-11-24 21:18:17 +00:00
Jon Atkins
01cfda1077 bumpped jquery + jqueryui versions.
now the stock intel site no longer includes any version of these there are no advantages to non-current releases
2013-11-24 21:17:10 +00:00
Mike Castle
4a9b13eade Spell checking, s-z, plus a couple of missed ones. 2013-11-24 00:19:25 -08:00
Mike Castle
a4a90c9fd1 Merge remote-tracking branch 'upstream/master' into to-push 2013-11-22 23:42:13 -08:00
Mike Castle
27bb6f058e Spell checking, d-g. 2013-11-22 23:31:05 -08:00
Jon Atkins
85255f476b basemap cleanups
- 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
2013-11-22 20:46:03 +00:00
Jon Atkins
6b5571b18a artifact display: initial checkin
display artifacts (jarvis shards, jarvis targets) on the map
TODO: add details to the portal info display
2013-11-07 03:51:20 +00:00
Philipp Schaefer
38446594db renamed splashScreen method 2013-09-24 01:05:26 +02:00
Jon Atkins
37131aaf8e move player name cache from localStorage to sessionStorage
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)
2013-09-16 22:22:19 +01:00
Jon Atkins
9b3caa8eb9 add function to start 'idle' mode - for use in the mobile app (rather than it forcing the idle timer)
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
2013-09-16 00:01:25 +01:00
Jon Atkins
f646f481fc use 'overlayadd/remove' instead of 'layeradd/remove' events. in theory should be more efficient as layeradd/remove gets called for every single portal/link/field/etc on the map 2013-09-13 23:12:49 +01:00
Xelio
7ce064399a Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed. 2013-09-13 21:50:29 +08:00
Jon Atkins
74cc365e9a faction layers - add/remove fields and links before portals - this way portals tend to remain above links/fields when things are toggled 2013-09-12 04:56:31 +01:00
Jon Atkins
f68153e1f5 add faction layer choosers
fix #536
2013-09-12 04:04:49 +01:00
Jon Atkins
ac6a235564 first stage of having faction-specific layers - portals, links and fields are now a layer group consisting of three faction-specific leaflet LayerGroups
also, move load.js from directly embedded in boot.js into an external file
2013-09-12 03:07:25 +01:00
Jon Atkins
9ee9380a2c Merge pull request #480 from fkloft/signout
Always show "sign out" link in IITCm.
2013-09-09 23:43:44 -07:00
Jon Atkins
7659cf4b84 slight improvement around the antimeridian - wrap the map centre so it's always between +-180 degrees
also limit north/south to 85 degrees, to avoid leaving the active map area
2013-09-05 23:12:18 +01:00
Jon Atkins
687162337c rename the 'default ingress map' to include 'Google' prefix, to make it clear it's a google map. should help troubleshooting relating to map layers, making it clear which are/aren't google ones 2013-09-03 01:56:03 +01:00
Jon Atkins
13d247019c re-write map initial position setting. before, if the initial zoom was invalid for the selected layer, things would get stuck in an odd way 2013-08-30 06:54:22 +01:00
Jon Atkins
96d3e1ded7 improved request queue handling 2013-08-28 19:34:21 +01:00
Jon Atkins
e793be9855 Merge branch 'master' into new-map-data 2013-08-28 00:50:58 +01:00