Licensed under the Creative Commons Attribution-Share Alike 2.0 license
-by the OpenStreetMap project and it's contributors.
+by the OpenStreetMap project and its contributors.
@@ -101,7 +109,7 @@ by the OpenStreetMap project and it's contributors.
setMapCenter(centre, zoom);
<% end %>
- <% if layers %>
+ <% if !layers.empty? %>
setMapLayers("<%= layers %>");
<% end %>