Skip to content

Commit

Permalink
added a fix for the bug that stops the site, added functionality to f…
Browse files Browse the repository at this point in the history
…ilter
  • Loading branch information
Isabelle Hillberg authored and Isabelle Hillberg committed Jun 8, 2015
1 parent 699cb27 commit 1c63fe2
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 129 deletions.
Binary file added .DS_Store
Binary file not shown.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,11 @@ http://osmlab.github.io/show-me-the-way/#32.55,-15.82,71.65,44.65

Build a bounding box URL like that, using this page:
http://osmlab.github.io/show-me-the-way/bbox.html


Edit 06/08/2015 - Isabelle Hillberg

To filter based on a comment (not merged, if you clone this and try it):
(base url).html#filter:FILTER_TEXT_HERE

It filters for any comment containing your text.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Show Me The Way</title>
<meta charset='utf-8' />
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/leaflet/0.5/leaflet.css' />
<title>Show me the way</title>
<meta nrset='utf-8' />
<link rel='stylesheet' href='css/leaflet.css' />
<link rel='stylesheet' href='css/style.css' />
<link rel='stylesheet' href='css/site.css' />
<!--[if lte IE 8]><link rel='stylesheet' href='http://cdn.leafletjs.com/leaflet-0.5/leaflet.ie.css' /><![endif]-->
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,700|Open+Sans+Condensed:700' rel='stylesheet' type='text/css'>
<link href='css/fonts.css' rel='stylesheet' type='text/css'>

</head>
<body>
Expand All @@ -30,7 +30,7 @@
<%= past_tense[change.type] %> <a target='_blank' href='//osm.org/browse/<%= change.meta.type %>/<%= change.meta.id %>'><%= change.tagtext %></a>
</p>
</script>
<script src='//cdnjs.cloudflare.com/ajax/libs/leaflet/0.5/leaflet.js'></script>
<script src='js/leaflet.js'></script>
<script src='js/Bing.js'></script>
<script src='js/bundle.js'></script>
<script type="text/javascript">
Expand All @@ -41,7 +41,7 @@

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.src = 'js/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

Expand Down
Loading

0 comments on commit 1c63fe2

Please sign in to comment.