58 Commits

Author SHA1 Message Date
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
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
Jon Atkins
fa2e0cdad5 leaflet update, to version 0.6.3 stable 2013-07-19 23:38:00 +01:00
qnstie
95130d33b3 Added comment - warning about manual modification of the source. 2013-07-17 22:23:36 +02:00
qnstie
1a39d94344 Added geodesic support for shapes 2013-07-17 22:21:22 +02:00
qnstie
f5f5ce8a55 Corrected usage of private field "_latlngs", which triggered error in GeodesicPolyline 2013-07-17 16:26:01 +02:00
qnstie
5acd6d11f4 Extended redraw() method to fix behavior during editing 2013-07-17 16:16:23 +02:00
qnstie
e2758bde1e Changed Polyline to GeodesicPolyline 2013-07-17 13:39:09 +02:00
qnstie
b67feb4590 Geodesic extension for Leaflet from https://github.com/Fragger/Leaflet.Geodesic 2013-07-17 13:26:59 +02:00
Jon Atkins
ea46405cd9 tweak delauny code to be more strict on it's colinear detection 2013-06-15 03:47:58 +01:00
Jon Atkins
740f13a287 minimap plugin - display a small map in the corner of the screen 2013-06-10 22:27:17 +01:00
Jon Atkins
935d78fc5f update leaflet to the latest master - wondering if it improves the troublesome mobile experience 2013-06-05 01:00:15 +01:00
Jon Atkins
16365da2f4 add plugin for yandex.com maps
fix #339
2013-06-01 19:27:07 +01:00
Kevin
4c4d27ad6d Nits, pan control had no update 2013-05-16 18:26:59 -07:00
Kevin
23b01a8949 Fix leaflet bar align for other tools on the side 2013-05-16 18:25:05 -07:00
Kevin
ff91990893 Update L.Control plugins to follow leaflet update 2013-05-16 18:19:07 -07:00
Jon Atkins
d1ef19784f fix draw tools. the leaflet upgrade broke it, so the leaflet.draw needed updating too
some of the hacks to do snap-to on points have been removed, at least for now - they needed major rework to fit in
additionally other customisations added are also removed - this is basically now stock leaflet.draw with edit-mode enabled
2013-05-12 18:54:03 +01:00
Jon Atkins
9266283684 upgrade leaflet to the master version - taken 2013-05-12 - 3d3e2cd
should fix issues with layer control on mobile, and other improvements
also - the convention for marker filenames has changed from ...@2x.png to ...-2x.png for the double sized ones - so changed our files to match (we had a mix of ...@2x.png and ..._2x.png)
2013-05-12 17:18:58 +01:00
Jon Atkins
d4a3377a9a update to leaflet 0.5.1
also include un-uglify-ed leaflet-src.js, for reference or debugging purposes
2013-04-14 18:54:00 +01:00
Kevin
b7e317bb02 Nits and fixes 2013-03-31 02:12:42 -07:00
Kevin
bf830c2992 New plugin add a zoom slider to map 2013-03-31 02:12:37 -07:00
Jon Atkins
5558fcd64f Merge pull request #99 from Fragger/pancontrol-tweak
Make the pan control plugin show up a little nicer
2013-03-30 10:35:54 -07:00
Kevin
4876c46871 Make the pan control plugin show up a little nicer 2013-03-28 20:53:42 -07:00
Jon Atkins
b28da29544 remove now unnecessary 'dist' folder
most files already existed (and were used from) elsewhere. delaunay.js has been moved to external/, and max-links updated to include from there
build.py updated to take account of no 'dist' folder (although it does allow for one if it's needed again in the future)
2013-03-29 01:59:33 +00:00
Kevin
e301f2aeff New plugin add a pan control to the map 2013-03-28 14:04:57 -07:00
Kevin
3f719cc630 Update draw tools plugin to include dependencies 2013-03-24 23:01:27 -07:00
Fragger
5474b893a6 Add in base64 image encoding to build system and move images over to use it 2013-03-23 10:31:06 -07:00
Jon Atkins
4ce0da5056 large chunk of work towards a nicer build system
- plugins are now parsed for @@..@@ replacements
- main script and plugins have separate .meta.js files created - less web server load for update checks
- build script has variables for resource URL, update URL, etc, substituted via @@..@@ into main script and all plugins
2013-03-19 22:39:16 +00:00
Jon Atkins
88514b114e fix some dodgy DOS-style newlines 2013-03-16 22:30:27 +00:00
Jon Atkins
8c40a72e27 fix some more github URLs 2013-03-16 21:03:15 +00:00
Stefan Breunig
2c07d2b803 only update the GMaps part that require updating.
Even when the zoom doesn’t change by repeatedly calling setZoom,
Firefox shows network operations. These can be avoided, although
this doesn’t improve the performance much when using the GMaps
layers.
2013-03-12 10:12:31 +01:00
Stefan Breunig
26acb194e4 fix broken ingress style commit 2013-03-10 20:04:07 +01:00
Stefan Breunig
47a3820a0d match default ingress map style 2013-03-10 18:28:59 +01:00
Stefan Breunig
2fa8ff7f78 can long-click (“tap and hold”) optional layers in layer chooser for select-only-this-layer 2013-03-08 09:28:56 +01:00
Stefan Breunig
d014933bae make retina icons available with an underscore and hack leaflet to reflect this. 2013-03-07 09:10:01 +01:00
Fragger
28bd62d0ee Update to main needed to spiderfy player tracker icons 2013-03-06 13:43:11 -08:00