Replace leaflet.draw with leaflet-locationfilter

This commit is contained in:
John Firebaugh 2012-10-18 17:53:30 -07:00
parent babefbba6c
commit fe6e837cfe
15 changed files with 618 additions and 1173 deletions

View file

@ -1,11 +1,9 @@
<div>
<div style="text-align: center">
<p style="margin-top: 10px; margin-bottom: 20px">
<a id="browse_select_view" href="#"><%= t'browse.start.view_data' %></a>
<a id="browse_filter_toggle" href="#"><%= t'browse.start_rjs.manually_select' %></a>
<br />
<a id="browse_select_box" href="#"><%= t'browse.start.manually_select' %></a>
<br />
<a id="browse_hide_areas_box" href="#"><%= t'browse.start.hide_areas' %></a>
<a id="browse_hide_areas_box" href="#"><%= t'browse.start_rjs.hide_areas' %></a>
</p>
</div>
<div id="browse_status" style="text-align: center; display: none">

View file

@ -6,10 +6,9 @@
<%= stylesheet_link_tag "large-#{dir}", :media => "screen and (min-width: 642px)" %>
<%= stylesheet_link_tag "print-#{dir}", :media => "print" %>
<%= stylesheet_link_tag "leaflet" %>
<%= stylesheet_link_tag "leaflet.draw" %>
<%= stylesheet_link_tag "leaflet.locationfilter" %>
<!--[if IE]>
<%= stylesheet_link_tag "leaflet.ie" %>
<%= stylesheet_link_tag "leaflet.draw.ie" %>
<%= stylesheet_link_tag "large-#{dir}", :media => "screen" %>
<![endif]--> <!-- IE is totally broken with CSS media queries -->
<%= favicon_link_tag "favicon.ico" %>