John Firebaugh
be0126aba6
Extract iD.svg.Defs from Surface
...
Need to have a single defs for the entire document but
multiple Surfaces.
2014-05-18 16:02:46 -07:00
John Firebaugh
1e78ee5c87
Stricter jshint
2013-10-24 16:08:48 -07:00
Ansis Brammanis
4eccd7015f
corner destroying resampling for oneway markers
2013-04-25 18:41:49 -04:00
John Firebaugh
275696caaa
Fix icons for lines that use maki ( fixes #1371 )
...
Generate a single feature-icons.json and feature-icons.css.
In the JSON, features with a line icon are indicated by the
presence of a `line` property. PresetIcon looks for this to
determine whether or not to add the `preset-icon-line` class.
New line icons may be added by editing line-icons.json.
2013-04-24 12:32:36 -07:00
John Firebaugh
d8751fad8d
Polish spriting code
...
* Smaller make-sprite.json.
* Convert operation sprite data to JSON, eliminating
fragile stylesheet grepping.
2013-04-23 09:45:37 -07:00
Ansis Brammanis
d21d52d905
add maki as dependency, new sprite script
...
issue #1319
2013-04-19 14:51:48 -04:00
John Firebaugh
90383a4591
Look through all stylesheets for sprites
...
Needed for concantenated iD.css.
2013-04-16 17:57:58 -07:00
John Firebaugh
77ce20c8c1
Add configurable image path
2013-04-16 17:20:21 -07:00
Saman Bemel-Benrud
4158b1c48e
use svg for radial menu.
2013-04-09 12:34:57 -04:00
John Firebaugh
1c3b817b89
Autosize both sprites ( fixes #1116 )
2013-03-22 16:22:32 -07:00
Saman Bemel-Benrud
426c897248
commit flow work
2013-03-21 19:19:17 -04:00
Ansis Brammanis
9a309c5009
don't hardcode sprite size
...
it can change any time the sprite is rebaked
2013-03-20 17:09:25 -04:00
saman bb
de90e76e84
adding forward icon.
2013-03-19 00:37:34 -04:00
Ansis Brammanis
6e0925003c
add Maki icons to areas
2013-03-15 13:57:08 -04:00
Ansis Brammanis
0c80b8cd90
merge maki and perset icon sprites
2013-03-14 20:01:31 -04:00
Saman Bemel-Benrud
0faf9d114d
adding universal preset form icons to sprite.
2013-03-13 19:45:05 -04:00
Saman Bemel-Benrud
0a9c3cb047
fix radial menu controls.
2013-03-13 16:04:56 -04:00
John Firebaugh
113ae58de8
Fix up tests
2013-03-11 15:45:27 -07:00
John Firebaugh
8c79d9672e
Alternate SVG sprite technique for operations ( fixes #956 )
2013-03-10 20:02:18 -07:00
John Firebaugh
60ff6fc021
Use maki icons for points ( fixes #881 )
2013-03-08 20:22:06 -08:00
Ansis Brammanis
bfdca7fc85
Add fill patterns for landuse, natural areas
...
Not working in Firefox. To get it to work in Firefox,
styles need to be directly applied to the path, or
set in an embedded stylesheet (not sure whats going on there).
2013-03-08 00:16:07 -05:00
Tom MacWright
4c1f292378
Resample oneway paths to produce markers.
...
This uses a technique created by @mbostock in http://bl.ocks.org/mbostock/4965670
Need to confirm that this is faster. It is definitely cleaner.
2013-03-07 15:31:25 -05:00
John Firebaugh
3000bc89ce
shadow should be above fill
...
Makes it much easier to select lines that are within areas.
2013-02-03 08:49:43 -08:00
Ansis Brammanis
b678486c01
Label bugfixes and cleanup
2013-01-23 16:08:43 -05:00
Ansis Brammanis
0afb564435
Merge remote-tracking branch 'systemed/master' into labels
...
Conflicts:
js/id/svg/lines.js
js/id/svg/surface.js
2013-01-20 20:37:00 -05:00
John Firebaugh
e5407fa49d
Improve highway rendering; render halo in a separate layer
2013-01-19 18:07:39 -08:00
John Firebaugh
5279839ca4
Highway rendering test page
...
Removing the top-level clip-rect to make this work;
it doesn't seem necessary?
2013-01-19 08:26:13 -08:00
Ansis Brammanis
9c007e24e3
Start work on label rendering
2013-01-17 15:14:22 -05:00
Tom MacWright
199584fbff
Name drawing functions so we can profile them
2013-01-16 13:54:36 -05:00
John Firebaugh
acaaab5dc9
Extract iD.svg.Surface
2013-01-11 16:01:39 -08:00