diff --git a/src/com/miparque/server/database/AbstractFtDao.java b/src/com/miparque/server/database/AbstractFtDao.java index afbe5a4..8308eea 100644 --- a/src/com/miparque/server/database/AbstractFtDao.java +++ b/src/com/miparque/server/database/AbstractFtDao.java @@ -7,6 +7,7 @@ import java.util.Iterator; import java.util.List; import java.util.Map; +import java.util.logging.Logger; import org.json.JSONException; import org.json.JSONObject; @@ -34,6 +35,7 @@ * @author codersquid */ public abstract class AbstractFtDao { + public static Logger log = Logger.getLogger(AbstractFtDao.class.getName()); public abstract List getJsonList(K key) throws ResourceNotFoundException, JSONException; public abstract JSONObject getJson(K key) throws ResourceNotFoundException, JSONException; protected abstract void validateForInsert(T entity); @@ -67,8 +69,7 @@ public String insert(T entity) { String insertSql = getInsertSql(entity); List rowids = runInsert(insertSql); if (rowids.size() > 1) { - // This would be a WARN log line. - System.out.println("There should only be one rowid resulting from an insertion of one entity but " + log.warning("There should only be one rowid resulting from an insertion of one entity but " + " we got more than one. rowids: " + rowids + " entity: " + entity); } String rowid = rowids.get(0); @@ -194,7 +195,6 @@ protected List> runSelect(String query) throws ResourceNotFou try { FusionTablesManager fm = new FusionTablesManager(); rows = fm.runSelect(query); - System.out.println(rows); } catch (Exception e) { throw new RuntimeException("Unable to find results for query: " + query, e); } diff --git a/war/index.html b/war/index.html index 1880781..89e704c 100644 --- a/war/index.html +++ b/war/index.html @@ -91,7 +91,7 @@ var e = document.createElement('script'); e.type = 'text/javascript'; e.src = document.location.protocol + - '//connect.facebook.net/en_US/all.js'; + '//connect.facebook.net/en_MX/all.js'; e.async = true; document.getElementById('fb-root').appendChild(e); } ()); @@ -262,7 +262,7 @@

Mi Parque

client_id=281417341887864& fb_only=true& fb_register=true& - redirect_uri=http%3A%2F%2F.mi-parque.appspot.com/%2Freg? + redirect_uri=http%3A%2F%2Fmi-parque.appspot.com/%2Freg? perms='email,sms,publish_stream,publish_actions'& fields=[ {'name':'name'}, @@ -505,82 +505,69 @@

Mi Mapa

  • La Villita Map Legend
  • -
    -
    - -
    -
    - Mi Parque -
    -
    +
    +
    + +
    +
    + Mi Parque +
    +
    +
    +
    + +
    +
    + Parks and Open Spaces +
    +
    +
    +
    + +
    +
    + Neighborspace Garden +
    +
  • -
    -
    - -
    -
    - Parks and Open Spaces -
    -
    + Average Daily Traffic Counts +
    +
    +
    +
    +
    +
    +
    < 5K
    +
    5K - 15K
    +
    > 15K
    +
    +
    +
    +
    +
    +
    +
    Public School
    +
    Private School
    +
  • -
    +
    - -
    -
    - Neighborspace Garden -
    -
    -
  • -
  • -
    -
    -
    -
    - Avg. Daily Traffic Ct. < 5K -
    -
    -
  • -
  • -
    -
    -
    -
    - Avg. Daily Traffic Ct. 5K - 15K -
    -
    -
  • -
  • -
    -
    -
    -
    - Avg. Daily Traffic Ct. > 15K -
    -
    -
  • -
  • Toggle Layers
  • -
  • -
    -
    - +
    Community-Submitted Toxic Site
    -
  • -
  • -
    +
    - - - + + +
    - Alerts / Aviso + Community Alerts / Aviso