92 Commits

Author SHA1 Message Date
fkloft
b4724f76dc Revert "Use unminified source for chain.js"
This reverts commit 507ec8c8eeef5d42b3ac21eb9c27277b7ae3713e. (Bug was found and fixed)
2015-02-08 17:52:25 +01:00
fkloft
507ec8c8ee Use unminified source for chain.js 2015-02-07 15:50:43 +01:00
Jon Atkins
549496fbc0 update leaflet to 0.7.3 - but also keeping our canvas-related changes 2014-06-25 22:43:30 +01:00
Jon Atkins
480381d5e9 leaflet: modify to handle canvas-based path redrawing better. the correct fix is only in the 0.8-dev at this time, but that's not stable enough to use
NOTE: only leaflet-src.js updated, and NOT the minified leaflet.js
2014-03-22 03:03:51 +00:00
Jon Atkins
a275ea1673 geodesic: remove dependancy on L.LatLng.DEG_TO_RAD/RAD_TO_DEG, in preperation for leaflet 0.8 2014-03-22 01:46:51 +00:00
Jon Atkins
42ed6566e4 DEG_TO_RAD and RAD_TO_DEG removed from L.LatLng in 0.8-dev builds 2014-03-22 01:04:00 +00:00
Dunstkreis
7d8c4a9794 Update leaflet.draw.css
fixed line break between save/cancel for delete layers
2014-02-02 11:18:11 +01:00
Jon Atkins
f40cda384e draw-tools: use colour picker rather than input box 2014-01-29 05:31:23 +00:00
Marcus Winkler
45b1691f3e fixed broken kml support 2014-01-27 14:10:53 +01:00
Jon Atkins
9b9bf5b671 update leaflet to 0.7.2 2014-01-22 19:19:52 +00:00
Jon Atkins
18f2e8b420 s2 geometry - add method to get neighbor cells 2014-01-20 17:08:22 +00:00
Jon Atkins
3a2a2e452d more s2geometry code
we have enough now to calculate the cell containing a lat/lng, and to calculate the lat/lng for a cell center/boundary
not certain the hibbert curve stuff is right yet...
2014-01-20 08:27:40 +00:00
Jon Atkins
0afd23c022 WORK IN PROGRESS: s2 geometry functions - needed for the new regional scoreboards 2014-01-18 13:03:47 +00:00
Marcus Winkler
a172b288da Add support for property "style" to geoJson. CSS styles can be used to style geoJson features. 2014-01-06 22:57:20 +01:00
Jon Atkins
b31d973cff increase min line segments used for geodesic circles - improves portal range circles at smaller sizes 2014-01-05 22:45:23 +00:00
Jon Atkins
e536fb6d12 geodesic line drawing: alternative intermediate point calculation code - based on simpler lon->lat formula rather than N intermediate points
more than good enough for line drawing, and hopefully will avoid odd rounding issues seen on mobile
2013-12-19 03:30:57 +00:00
Jon Atkins
78e9983d90 work-around for mobile-specific geodesic line drawing issue - appears to be an odd rounding problem
not ideal, but better than the current situation
2013-12-15 06:08:54 +00:00
Jon Atkins
7fb9a1aef9 leaflet 0.7.1 update 2013-12-10 19:17:36 +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
bba6519860 Spell checking, h-r. 2013-11-23 19:16:20 -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
3131cf758a Merge pull request #654 from nexushoratio/to-push
Spell checking, a-c.
2013-11-22 21:25:32 -08:00
Mike Castle
c31fa3d46d Spell checking, a-c. 2013-11-22 20:14:23 -08:00
Jon Atkins
cd6f17fad3 cache bing maps metadata - without this likely to exceed free quota for map tiles 2013-11-23 00:05:31 +00: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
662cb4c662 leaflet 0.7 release
hopefully improves things further, especially on kitkat
2013-11-22 06:07:23 +00:00
Jon Atkins
e6c0c9a51a geodesic lines: improve the handling for lines that extend beyond the antimeridian. no odd straight line segments
leaflet doesn't have particularly great handling for this, but this is a reasonable measure for now
2013-11-21 05:30:21 +00:00
Jon Atkins
210a306042 leaflet 0.7-dev - 2013-11-08
added as it has fixes for androud 4.4 kitkat, amongst other things
2013-11-08 19:07:30 +00:00
Jon Atkins
3ff65225c3 update overlapping marker spider code 2013-11-07 00:17:01 +00:00
Jon Atkins
6833c02ff4 Merge pull request #579 from nylonee/master
Plugin to add a KML, GPX or GeoJSON overlay over the map
2013-10-27 09:12:31 -07:00
Jon Atkins
51bb866dc6 geodesic lines - improved handling of lines that cross the antimeridian
works fine as long as the longitude difference is under 180 degrees
2013-10-27 16:06:35 +00:00
Jon Atkins
5b81fa4086 fix geodesic circle - formula had errors!
https://plus.google.com/108582664457219405296/posts/CoNTvk5i4xF
2013-10-20 22:55:55 +01:00
Jon Atkins
ee484c54cb draw-tools: fix typo that broke editing 2013-10-17 17:20:45 +01:00
Jon Atkins
c3b6461d47 draw-tools: convert circles to geodesic mode, to match everything else
perhaps could be a bit cleaner, but it'll do for now...
2013-10-16 02:17:13 +01:00
Jon Atkins
e21344295b Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-09-25 08:29:15 +01:00
Jon Atkins
75a985b8f5 add support for a snapPoint callback function to leaflet.draw, and use to snap points to portals
also enable repeat mode for marker placement
2013-09-25 08:28:25 +01:00
fkloft
845efddecd Fixed typo in last commit 2013-09-24 13:54:19 +02:00
fkloft
1cecbe7f44 Ignore canceled touch events in taphold.js
Fixes #575
2013-09-24 13:47:01 +02:00
Jon Atkins
db918ad365 convert polyline/polugon to geodesic 2013-09-24 08:00:19 +01:00
Jon Atkins
8d42cdea00 update leaflet-draw to 0.2.1
(unmodified, except for image paths in css. geodesic changes in next commit)
note: non-minified version this time, to aid any future modifications
2013-09-24 07:42:17 +01:00
Nihal Mirpuri
ca8c8bb806 Added KML plugin 2013-09-24 13:26:35 +10: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
0f37bc8ef6 add current taphold.js - the one merged from #538 was broken 2013-09-05 03:38:33 +01:00
Gabriel Sjöberg
12bb026ac9 Updated autolink.js and taphold.js to the latest from their upstream repos.
The changes are mainly bugfixes and a few performance improvements.
Note that autolink.js is now the minified version from upstream.
2013-09-04 15:23:10 -05:00
Jon Atkins
c420c1e0dc update leaflet library from 0.6.3 to 0.6.4 2013-09-03 23:49:03 +01:00
Jon Atkins
94eeb5a728 in geodesic line calculation, add the final point unmodified rather than running through the maths
fix #471 - and is a slight optimisation
2013-08-04 20:49:58 +01:00
Jon Atkins
8563498ded fix geodesic circle radius - was scaling the radius by PI 2013-08-02 07:31:03 +01:00
Jon Atkins
16e15dfb51 first attempt at geodesic circles - for #292 (alsao see #201 and #425) 2013-08-02 07:21:04 +01:00
Jon Atkins
e7dcddb1b6 commit start of work, so no files are pending for new release 2013-08-01 00:12:46 +01:00