Jon Atkins
2b68487c4b
plugin: max-links
...
- fix for API changes
- change to perform triangulation in screen coordinates, rather than lat/lng treated as x/y coords. gives better triangulation
- ignore portals outside the viewport for triangulation purposes - prevents artifact portals adding long triangles off the edge of the screen
2013-12-01 15:34:06 +00:00
Jon Atkins
1a77ddad77
max links: start rename process to 'tidy links'
2013-09-12 19:49:03 +01:00
Jon Atkins
784b26561b
max links: reduce portal limit to more sensible levels
2013-08-28 17:58:46 +01:00
Jon Atkins
4f68673b69
max links: remove the error message when the layer is turned off
2013-08-28 17:54:48 +01:00
Jon Atkins
ae88e8276f
make max-links limit based on portal count - saves calculating when we wouldn't draw
...
show a 'too many portals' error as a marker when not drawn
2013-08-28 17:44:46 +01:00
Jon Atkins
b6ce79e323
fix typo in maxlinks plugin code
2013-08-28 06:02:51 +01:00
Jon Atkins
571a17d84b
work-in-progress - committing to switch to other work
2013-08-27 21:04:28 +01:00
Jon Atkins
40e41739ff
some plugin description tweaks
2013-07-14 18:57:21 +01:00
Jon Atkins
7d75a928cf
plugin wrapper code - convert to use build.py macros. this ensures it's identical in all plugins, so the mobile app can remove/modify it without issues. also makes it easy to change if required
2013-06-14 20:27:54 +01:00
Jon Atkins
81f5c04ac8
overhaul of the max-links plugin
...
- rather than drawing each triangle completely, draw each edge just once. prevents overdraw
- use dashed lines for edges - allows existing links to be seen
- change to calculate on lat/lng directly, rather than the odd offset-to-positive latE6/lngE6 used before
- change the event used for detecting portals added to map - was using one fired before portals added to the map before
2013-06-10 16:52:01 +01:00
Jon Atkins
c2eedbfefa
more plugin category tweaks
2013-06-10 04:46:04 +01:00
Jon Atkins
e3d8611f09
some plugin category additions/changes
2013-06-08 19:19:08 +01:00
Philipp Schaefer
51be5bee04
added plugin categories (see #358 )
2013-06-08 18:50:26 +02:00
Jon Atkins
9dffadada6
plugins - ensure they pass a default for shown/hidden when being added to the map
2013-05-24 15:54:05 +01:00
Jon Atkins
84cb73d8e1
add @grant none to userscript headers - as recommended by greasemonkey
2013-05-20 03:12:19 +01:00
Jon Atkins
6e8dd15052
update several plugins to use window.addLayerGroup, instead of manually adding the layer to the map and Layer control.
...
this gives automatic handling of remembering shown/hidden layers
also, draw tools plugin hides the controls while the drawn items layer is hidden
2013-05-18 03:42:56 +01: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
Jon Atkins
0d79665db2
version number to a.b.c.date.time format
2013-03-25 18:37:56 +00:00
Kevin
be55603bcb
Revert "nits"
...
This reverts commit e12e66284056b7392629a83fd12dd7f820b42d41.
2013-03-25 01:52:48 -07:00
Kevin
e12e662840
nits
2013-03-25 01:20:06 -07:00
Kevin
65c019845d
Update max links to include dependencies
2013-03-24 22:50:36 -07:00
Jon Atkins
380bbfda32
more build tweaks
...
- make update URLS https - required by firefox+greasemonkey
- add build name + date/time to description of all plugins, and moved to front for main IITC
- ensure all plugins have a A.B.C. version number format - required now they append the date+time digits
- no smooth upgrade path from current 'dist' folder - so changed to 'release'. users will have to manually update this time, but will be fine fron now onwards (in theory!)
2013-03-20 04:34:16 +00:00
Jon Atkins
46bfed5d2f
use @@..@@ replacements for hard-coded URLs in plugins
2013-03-19 22:51:51 +00: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
8c40a72e27
fix some more github URLs
2013-03-16 21:03:15 +00:00
Jon Atkins
1d4d125605
update plugin URLS for my branch + dist server
...
bump version numbers for this reason
also, allow plugins for both http and https URLs, in preperation for supporting both
2013-03-16 19:59:46 +00:00
Stefan Breunig
536b0e0fb5
port max links plugin to https
2013-02-26 16:47:25 +01:00
Axel Wagner
06b9c4ba89
Remove trailing whitespaces
2013-02-26 16:32:28 +01:00
boombuler
799a1012ed
recalculate the links as soon as the portals are loaded
2013-02-25 21:54:52 +01:00
boombuler
6c4ccdff94
moved some vars to namespace
2013-02-25 21:24:36 +01:00
boombuler
664c2595cf
fixed typo
2013-02-25 21:19:46 +01:00
boombuler
a392c04469
unindented the wrapper function.
2013-02-25 20:34:25 +01:00
boombuler
0f728944bd
fixed typo
2013-02-25 20:24:01 +01:00
boombuler
c75b99a079
added some linebreaks
2013-02-25 20:21:26 +01:00
boombuler
dc058939f4
moved constants to namespace
2013-02-25 20:18:04 +01:00
boombuler
027e13778b
fixed coding style
2013-02-25 20:14:12 +01:00
boombuler
c86e8608bf
support increased render limit within the plugin
2013-02-25 10:41:02 +01:00
boombuler
b8a86f8d08
Merge branch 'plugin' of https://github.com/boombuler/ingress-intel-total-conversion into plugin
...
Conflicts:
plugins/max-links.user.js
2013-02-25 10:22:59 +01:00
boombuler
9748664b20
moved delaunay algorithm to external file
2013-02-25 10:19:24 +01:00
Florian Sundermann
de39c45a34
added a renderlimit
2013-02-25 08:56:39 +01:00
Florian Sundermann
1fdad5cfdf
Revert "added a renderlimit for the plugin"
...
This reverts commit a94bf4475ba5366c1c605ffa6e97226839a58552.
2013-02-25 08:50:41 +01:00
boombuler
a94bf4475b
added a renderlimit for the plugin
2013-02-24 23:10:22 +01:00
boombuler
f44e9bd3a2
fixed typo + only update links if the layer is visible
2013-02-24 15:56:58 +01:00
boombuler
bbf7f64488
moved some functions to namespace
2013-02-24 15:33:10 +01:00
boombuler
de4ad90645
changed namespace to maxLinks
2013-02-24 11:34:39 +01:00
boombuler
29749ebbe1
add to layerchooser instead of the toolbox + code cleanup
2013-02-23 17:06:21 +01:00
boombuler
c36afe506e
applyed codingstyle
2013-02-23 16:18:02 +01:00
boombuler
8d419c3c95
added update / download url
2013-02-23 15:57:06 +01:00
boombuler
c546b7c13d
fixed overlapping links
2013-02-22 23:04:40 +01:00
boombuler
78a1ad842b
new plugin to calculate how to set links for max field count
2013-02-22 20:22:11 +01:00