Tom Hughes
7f89545b2c
Police the MAX_NOTE_REQUEST_AREA limit on the client
2012-12-02 14:55:56 +00:00
Tom Hughes
146e9877e5
Make sure popups don't overlay controls or the top bar
2012-12-02 14:14:17 +00:00
Tom Hughes
98475075c7
Add a scrollbar when a note gets too big
2012-12-02 14:14:16 +00:00
Tom Hughes
de78176e04
Rework notes UI using leaflet
2012-12-02 14:13:54 +00:00
Tom Hughes
78f608b114
Merge branch 'master' into notes
...
Conflicts:
app/assets/javascripts/browse.js
app/assets/javascripts/map.js.erb
app/assets/stylesheets/common.css.scss
app/views/site/index.html.erb
2012-12-01 18:22:30 +00:00
Tom Hughes
5fe5777a58
Move caching of reverse geocodes to describe_location
2012-12-01 18:18:10 +00:00
Kai Krueger
0a3aba7f89
Remove nearby_place from the note model
...
Instead of storing the auto-generated meta information nearby_place
in the database, just look up the information on the fly when needed
and cache it for performance.
2012-12-01 18:18:09 +00:00
John Firebaugh
394dcd7316
Avoid multiple click bindings on data layer
2012-11-29 18:31:17 +00:00
John Firebaugh
6255c96130
Use jQuery chaining
2012-11-29 18:29:50 +00:00
John Firebaugh
05eba79008
Move "Browse Map Data" to layers control
...
Fixes https://trac.openstreetmap.org/ticket/4680
2012-11-29 18:23:41 +00:00
John Firebaugh
fde2744f74
Sort changeset rectangles by size
...
This should help make more changesets accessible on the
map, without requiring precision cursor placement on the
changeset boundary (#169 ).
2012-11-29 05:50:03 -08:00
Tom Hughes
08283b9a33
Change map placement in small screen mode
...
This mirrors the way the map is now handled in large screen mode, and
makes it display properly in the Android browser.
2012-11-25 18:36:55 +00:00
John Firebaugh
3758930e18
Fix "Edit Area" remote control link
...
Fixes https://trac.openstreetmap.org/ticket/4699
2012-11-25 17:36:48 +00:00
Tom Hughes
7a334bd3fe
Hide +/- signs, take three
2012-11-24 14:13:58 +00:00
Tom Hughes
d9352f16a8
Set the z-index on the top bar to keep it in front
2012-11-23 19:38:55 +00:00
Tom Hughes
f978642a58
Revert "Stop the map overlapping the top bar"
...
This reverts commit 2ef2d7c876
.
2012-11-23 19:36:56 +00:00
Tom Hughes
8e27c78d3c
Fall back to the mapnik layer
...
If there are no known layers in the layers string, then fall back to
showing the standard mapnik layer.
2012-11-23 19:00:51 +00:00
Tom Hughes
dc0ada9515
Set size and anchor position for embedded markers
2012-11-23 17:57:47 +00:00
Tom Hughes
3d40181f87
Improve hiding of text on zoom icons
2012-11-23 15:26:00 +00:00
Tom Hughes
31a6d20728
Set icon paths for markers on the embedded map
2012-11-23 15:06:13 +00:00
Tom Hughes
af35527c72
Add missing units
2012-11-23 15:00:04 +00:00
Tom Hughes
e951c6b4b0
Stop active link boxes appearing on the zoom in/out icons
2012-11-23 14:58:10 +00:00
Tom Hughes
4a26107560
Stop spurious +/- signs appearing in the zoom slider
2012-11-23 14:57:54 +00:00
Tom Hughes
2ef2d7c876
Stop the map overlapping the top bar
2012-11-23 12:23:38 +00:00
Tom Hughes
7d92ec7047
Merge branch 'leaflet'
2012-11-23 10:41:45 +00:00
Tom Hughes
c0b47c0c2a
Serve embedded maps through the assets pipeline
2012-11-23 10:40:26 +00:00
Tom Hughes
d04e3ac9f8
Move map controls higher in the small screen view
2012-11-22 13:03:49 +00:00
Tom Hughes
0c2d538aa7
Use the small zoom control in the small screen layout
2012-11-22 12:54:37 +00:00
Tom Hughes
f6ac8ffbab
Tidy up
2012-11-22 12:35:49 +00:00
Tom Hughes
7ac7db35b8
Remove hard coded assumption that layer zero is mapnik
2012-11-22 12:35:49 +00:00
Tom Hughes
8aa6d575ff
Remove unused image
2012-11-21 22:52:53 +00:00
Tom Hughes
130a184ec5
Make sure all leaflet images are loaded through the asse pipeline
2012-11-21 19:01:09 +00:00
Tom Hughes
62ba6b50ba
Replace OSM markers with recolured versions of the Leaflet marker
2012-11-21 18:43:20 +00:00
Tom Hughes
bc1b4d53e3
Use the OSM map marker icons on the home page
2012-11-20 21:52:40 +00:00
Tom Hughes
a0c9cc7d0a
Use the OSM map marker icons when adding a new diary entry
2012-11-20 21:48:50 +00:00
Tom Hughes
129d505d91
Fix formatting of comments in the notes RSS feed
2012-11-20 21:01:59 +00:00
Tom Hughes
7599f98957
Merge branch 'master' into notes
...
Conflicts:
Gemfile
Gemfile.lock
app/assets/stylesheets/common.css.scss
app/helpers/application_helper.rb
2012-11-20 19:08:30 +00:00
Tom Hughes
d68368e0d5
Rework RTL handling to keep rules together
2012-11-19 10:39:30 +00:00
Tom Hughes
6f9ad2eab6
Fix rendering of PanZoom control in RTL mode
2012-11-18 19:20:53 +00:00
Tom Hughes
1c5db113e2
Always use the canonical host name in diary RSS feeds
2012-11-16 17:03:48 +00:00
Tom Hughes
ec6f14df0c
Use counter caches to improve spam scoring
...
Now that we have the counter caches we can take all edits and traces
into account without incurring the cost of having to scan the database
to count them all.
2012-11-12 09:39:44 +00:00
John Firebaugh
9bd48640ad
Move popup anchor definition to icon
2012-11-09 15:57:31 -08:00
John Firebaugh
f913b7d8a5
Use nicer markers
2012-11-09 13:31:29 -08:00
John Firebaugh
5b42c683f5
Don't zoom map when enabling location filter
2012-11-09 13:13:44 -08:00
John Firebaugh
ed84516db2
Fix user popup styles
2012-11-09 12:59:31 -08:00
John Firebaugh
1927bc6ca8
Fix user map icon and offset
2012-11-09 12:59:31 -08:00
John Firebaugh
648f232596
Inline map.js marker functions
2012-11-09 12:59:31 -08:00
John Firebaugh
43bfebdd9e
Use leaflet css for print
2012-11-09 12:59:30 -08:00
John Firebaugh
753c179085
Update some print styles for Leaflet
2012-11-09 12:59:30 -08:00
John Firebaugh
66f0a4da04
Fix L.Icon.Default.imagePath in production
2012-11-09 12:59:30 -08:00