sfbrigade / sf-crime-data

Search SFPD incidents from SF OpenData with focus on campus safety.
http://sfcrimedata.org
MIT License
26 stars 39 forks source link

Use HTML5 geolocation #10

Open jasonlally opened 8 years ago

jasonlally commented 8 years ago

From Tamas:

Also offer the ability to use HTML5 Geolocation. That is a must, especially that lots if not the majority of the users use apps like this on their mobile devices. HTML5 Geolocation would be activated by a single button click that has a symbol (circle with a cross in the center) in it.

jasonlally commented 8 years ago

It's easy enough to add. For this application a lot of folks will be doing ad hoc queries as well, so as long as it's an option, like you suggest, and not the default, I think that's good.

hackajesse commented 8 years ago

@jasonlally I'm not sold that this is a must. The universities and colleges, in my hypothesis, will be more likely to upload a csv than to geolocate their searches.

jasonlally commented 8 years ago

@hackajesse - totally agree, this was just on backlog from the first round of possibilities and wanted to make sure it was captured. It doesn't really serve the primary use case. It may in future iterations serve secondary use cases, but I wouldn't emphasize it.

paulhennings commented 7 years ago

Github hosting for custom domains does not currently allow for HTTPS. Most current browsers are not supporting HTML5 Geolocation GeoLocation on insecure origins. This is blocked until such time as we can move sfcrimedata.org to SSL-compliant hosting.

squanto commented 7 years ago

Hey @paulhennings , I believe that github pages does support https, and that with cloudflare, we can set up ssl on the custom domain. For example, https://hugomelo.com/ runs from https://github.com/squanto/squanto.github.com