Commit Graph

72 Commits

Author SHA1 Message Date
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
22aaa10ed8 bump draw tools version number, due to the major leaflet.draw upgrade 2013-05-12 18:59:37 +01:00
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
2509032561 keep plugin version number as a.b.c.date.time format - otherwise 0.3.20121231.123456 is higher than 0.3.1.20121231.123456 2013-03-25 14:48:10 +00:00
450ad8caf3 Update draw-tools.user.js 2013-03-25 09:40:25 +01:00
67fe78af04 nits 2013-03-25 01:18:46 -07:00
3f719cc630 Update draw tools plugin to include dependencies 2013-03-24 23:01:27 -07:00
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
46bfed5d2f use @@..@@ replacements for hard-coded URLs in plugins 2013-03-19 22:51:51 +00:00
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
8c40a72e27 fix some more github URLs 2013-03-16 21:03:15 +00:00
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
cba504e55c remove URL to image files for draw tools; that path is set in main now 2013-02-26 22:26:00 +01:00
c8f74a1fe6 use correct base url for draw plugin 2013-02-26 20:08:13 +01:00
01796f2aa2 bump version number for all plugins since their match/include URL has been updated 2013-02-26 01:12:51 +01:00
d5d2bad74a more fixes for https 2013-02-26 00:53:27 +01:00
538b57c7f7 Due to ingress.com/intel now force-redirecting to the HTTPS version,
loading dependencies just got a lot harder. External JS and CSS files
are now included directly in the file while building. This does not yet
work for plugins. I will make an emergency release soon, so at least
main works.
2013-02-25 23:58:07 +01:00
a804e8e5e1 improves included description/help of drawing tools a lot (fix #156) 2013-02-14 10:29:54 +01:00
7f3be4dd66 allow dragging of markers 2013-02-13 18:43:09 +01:00
fb3d3a7811 fix error when drawing polylines 2013-02-13 18:15:33 +01:00
e76c17f2c7 color Leaflet marker icon accordingly 2013-02-13 18:11:24 +01:00
1f00e70419 add draw plugin. See #135 2013-02-13 17:46:25 +01:00