Commit d541948f authored by Mudar Noufal's avatar Mudar Noufal

cleanup

parent d0185f1e
......@@ -150,10 +150,9 @@ public class Const {
String UNITS_IMP = "imp";
// String LIST_SORT_NAME = "name";
// String LIST_SORT_DISTANCE = "distance";
Set<String> DEFAULT_LAYERS = new HashSet<>(
Arrays.asList(Const.LayerTypes.HOSPITALS,
Const.LayerTypes.AIR_CONDITIONING)
);
Set<String> DEFAULT_LAYERS = new HashSet<>(Arrays.asList(
Const.LayerTypes.HOSPITALS,
Const.LayerTypes.AIR_CONDITIONING));
}
public interface RequestCodes {
......
......@@ -138,6 +138,7 @@ public class UserPrefs implements
.apply();
}
@LayerType
public Set<String> getEnabledLayers() {
return mPrefs.getStringSet(LAYERS_ENABLED, Const.PrefsValues.DEFAULT_LAYERS);
}
......
......@@ -982,8 +982,8 @@
}, {
"type": "Feature",
"properties": {
"Name": "Parc Pélican *",
"Description": "<p>Parc Pélican *<br\/>2 560, Rue Masson<br\/>Rosemont-La Petite-Patrie<\/P><P>Pataugeoire<\/P>",
"Name": "Parc Pélican",
"Description": "<p>Parc Pélican<br\/>2 560, Rue Masson<br\/>Rosemont-La Petite-Patrie<\/P><P>Pataugeoire<\/P>",
"Type": "pataugeoire"
},
"geometry": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment