SJohnson
0790cf7423
Added the ability to load points from gpx files and display on the map
2013-09-25 14:42:58 -07:00
Tom MacWright
03550ff6ff
Brighter color for GPX paths. Fixes #1626
2013-09-17 15:53:28 -04:00
John Firebaugh
1cdc4bc79d
Remove duplicate style
2013-08-24 09:53:51 -07:00
John Firebaugh
c497644e87
Don't hide midpoints when dragging node
...
For some reason this invalidates and repaints a large
portion of the page.
2013-06-20 09:41:27 -07:00
John Firebaugh
e339bd5df3
Fix tile overzooming
2013-06-12 16:49:50 -07:00
John Firebaugh
bd2c7ba756
Render bridge casing for bridge=viaduct, etc.
...
Fixes #1500 .
2013-05-20 16:49:55 -07:00
John Firebaugh
de70b7b169
Remove #map:active cursor
...
This causes a style recalculation that takes time linear
or worse in the number of rendered elements. Upwards of
20s in dense areas.
2013-05-20 12:05:31 -07:00
John Firebaugh
16e05fd657
Revert "Don't use :active pseudo-class"
...
Now seeing this cause poor pan performance.
This reverts commit 9fafd6b56a .
2013-05-13 14:16:14 -07:00
John Firebaugh
1a6a9b5b9e
Better way of doing hover suppression
2013-05-13 12:53:03 -07:00
John Firebaugh
fd1573fa08
Abandon iD.svg.MemberClasses
...
Substantial performance hit for something that's barely used.
2013-05-13 12:46:01 -07:00
John Firebaugh
9fafd6b56a
Don't use :active pseudo-class
...
It's slow (500 ms recalculate style vs 1ms).
2013-05-13 09:49:29 -07:00
John Firebaugh
feed896baa
Remove unnecessary pseudo-selector
...
This was causing a hugely expensive style recalculation
on map mouseover/exit.
2013-05-13 09:49:18 -07:00
John Firebaugh
70e5411114
Optimize vertex rendering
...
* Cache icon
* Append rather than insert
* Do fewer things on update
* Don't create a fill unless needed
* Don't apply tag and member classes (never used)
* Drop down to raw setAttribute (d3 is slow :trollface:)
2013-05-13 09:37:48 -07:00
John Firebaugh
a53d5cbb44
Optimize label hover
...
Add entity IDs to the element class list, so that specific
elements can be selected by ID rather than needing `filter`.
2013-05-12 11:47:48 -07:00
Martin Raifer
a9dbd277c5
use fill:none instead of fill:transparent
...
`transparent` is not a valid [svg](http://www.w3.org/TR/SVG/painting.html#SpecifyingPaint ) [color](http://www.w3.org/TR/SVG/types.html#DataTypeColor ). Use `none` instead.
2013-05-08 17:15:19 +03:00
Ansis Brammanis
823d28339c
add styles of schools, universities, pitches
...
fixes #1389
2013-04-30 15:56:04 -04:00
Ansis Brammanis
4eccd7015f
corner destroying resampling for oneway markers
2013-04-25 18:41:49 -04:00
John Firebaugh
a2f86154ce
Also show vertices on hover in draw modes
2013-04-23 16:52:32 -07:00
John Firebaugh
aedd5ee46e
Create a dist directory
...
This directory will contain the built sources (iD.js, iD.css)
and images. On a release branch, we will check in the generated
files. For the osm.us/master deploy, it should run make and use
dist/ as the root.
Paths in css are relative, e.g. url(img/foo.png).
2013-04-22 10:50:36 -07:00
Ian B
6220e2a124
Update aeroway=runway style to cater for areas
2013-04-05 22:08:02 +02:00
John Firebaugh
e950042922
Fix cursors, add tests
2013-04-05 11:57:13 -07:00
Ansis Brammanis
f356e3e357
fix cursors
2013-04-05 14:24:58 -04:00
Saman Bemel-Benrud
be9f8e21be
fixing cursor stuff.
2013-04-04 18:27:00 -04:00
Saman Bemel-Benrud
bbede6f33d
properly implemented retina cursors (i think?)
2013-04-04 18:22:11 -04:00
Saman Bemel-Benrud
4944592aff
adding rules for retina cursors.
2013-04-04 17:44:20 -04:00
Ian B
c3c2cfd0a2
Add aeroway styles ( #1102 )
2013-03-30 13:28:14 +01:00
Saman Bemel-Benrud
6c5be4f8f7
adding specific rules for bridge shadows
2013-03-28 16:34:17 -04:00
Saman Bemel-Benrud
a4aa9f11f6
fine-tuned oneway markers + preset icon display.
2013-03-28 11:34:07 -04:00
Saman Bemel-Benrud
4fc03b5c7c
style adjustments to walkthrough.
2013-03-27 15:55:05 -04:00
saman bb
79f27c340f
more specific cursor selectors.
2013-03-25 17:19:11 -04:00
Ansis Brammanis
638456f818
fix opera path halos
...
fixes #1101
2013-03-21 15:21:27 -04:00
Saman Bemel-Benrud
7b3b5ff73f
better bridge rendering, closes #630
2013-03-21 13:26:03 -04:00
Ansis Brammanis
d9f12f7942
make map cursor selectors more specific
2013-03-20 17:35:34 -04:00
Tom MacWright
c94ec3b4a9
Local GPX file support, first push towards multilayer support.
2013-03-19 18:41:16 -04:00
John Firebaugh
ff85d57b82
Simplify
2013-03-15 14:49:57 -07:00
John Firebaugh
cc1bb50f0b
Fix shadow pointer events
2013-03-15 14:47:05 -07:00
Ansis Brammanis
e3d11daceb
fix path pointer-events regression
2013-03-15 16:53:24 -04:00
Ansis Brammanis
0a7b19efdc
nicer label halos
...
renders a second text with wider stroke
instead of drawing a block halo with a rect or path
2013-03-15 15:39:10 -04:00
John Firebaugh
2598c00838
Clean up shadow styles
2013-03-15 12:14:36 -07:00
saman bb
88101bd726
simpler point cursor.
2013-03-15 00:52:49 -04:00
John Firebaugh
51a217caa2
Refine tagged vertex rendering
...
Don't render tagged vertices for which we don't have
an icon as the 'marker' icon. Marker shape is for points.
2013-03-14 13:35:24 -07:00
John Firebaugh
364d93693b
Use traditional marker shape for points ( fixes #172 )
2013-03-14 11:22:10 -07:00
John Firebaugh
3787185182
Rendering tagged points
...
At z16 and below, tagged points are rendered with a small
dot in the center. At z17 and above, they are rendered with
a maki icon.
See the test rendering page for examples.
Fixes #381 .
2013-03-13 17:31:25 -07:00
John Firebaugh
2401a5a547
Fix tag-landuse-retail selectors
2013-03-13 12:53:11 -07:00
John Firebaugh
be567fb028
Render landuse=farm and landuse=farmland identically
...
See http://www.openstreetmap.org/user/Harry%20Wood/diary/14079
for an entertaining rant on this subject.
2013-03-12 13:12:07 -07:00
John Firebaugh
9f5ba8342d
Convert DragNode to a mode
...
This makes the CSS more consistent and makes fixing #953
easier. Also, dragging now clears the selection and closes
any operations menu, which is good.
There's still a minor Chrome bug: it doesn't refresh the
cursor when the .behavior-hover class is removed.
2013-03-11 15:45:27 -07:00
John Firebaugh
acd318b792
Fix drag node cursor over line casing
...
Was previously trying to exclude .area.fill, but this is
now handled by `pointer-events: none` below.
2013-03-11 14:23:02 -07:00
John Firebaugh
c4d772e9c2
Crosshair cursor when dragging node ( fixes #952 )
2013-03-11 14:23:02 -07:00
Ansis Brammanis
eeec54f15c
Use commercial landuse styles for retail too
2013-03-11 16:43:40 -04:00
Saman Bemel-Benrud
08346de80b
fixing landuse stroke colors, closes #940
2013-03-11 16:37:04 -04:00