Skip to content

Instantly share code, notes, and snippets.

View chelm's full-sized avatar

Christopher Helm chelm

View GitHub Profile
replaced:
selects.append('<option value="">-- Select One --</option>')
with:
jq.each(selects, function(i, select){
if (!jq(select).hasClass('exp_select')){
jq(select).append('<option value="">-- Select One --</option>')
}
<head>
<script src="http://geoiq.local/javascripts/f1.api.js"></script>
<!--script src="http://geocommons.com/javascripts/f1.api.js"></script-->
<script>
var mymap;
function load(){
mymap = new F1.Maker.Map({
map_id: 107,
dom_id: "map",
<html>
<head>
<script src="http://geoiq.local/javascripts/f1.api.js"></script>
<script>
$(function(){
gmap = new F1.Maker.Map({
map_id: 107,
dom_id: "goog",
view:'globe',
<html>
<head>
<script src="http://geoiq.local/javascripts/f1.api.js"></script>
<script>
$(function(){
gmap = new F1.Maker.Map({
map_id: 116,
dom_id: "goog",
view:'globe',
google_key:'ABQIAAAA630IfPtvy4gvDbA5HdxNGRSR6al1JJILrb2xb6gmsA_quSrGlRSCC3o3yILtTuPd8sBfe4gmHMilJQ'
<html>
<head>
<script src="http://geoiq.local/javascripts/f1.api.js"></script>
<script>
$(function(){
gmap = new F1.Maker.Map({
map_id: 116,
dom_id: "map",
view:'sputnik'
});
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="polymaps.js"></script>
<script type="text/javascript">
function decodeLine (encoded) {
var len = encoded.length;
var index = 0;
var array = [];
begin
Qusion.start(ENV)
RAILS_DEFAULT_LOGGER.debug "Started Qusion \n\n"
rescue => e
raise "Failed to start Qusion: #{e} \n\n"
end
#subscribe
EM.next_tick do
NoMethodError (undefined method `minutes' for "100000":String):
app/models/user.rb:279:in `extend_session'
app/controllers/application_controller.rb:266:in `check_for_session_expiration'
haml (2.2.10) rails/./lib/sass/plugin/rails.rb:19:in `process'
lib/server_proxy.rb:31:in `call'
passenger (3.0.0) lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
passenger (3.0.0) lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler'
passenger (3.0.0) lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send'
: SELECT * FROM "overlays" WHERE ("overlays"."id" = E'') LIMIT 1^[[0m
ActionView::TemplateError (PGError: ERROR: invalid input syntax for integer: ""
LINE 1: SELECT * FROM "overlays" WHERE ("overlays"."id" = E'') LIMI...
^
: SELECT * FROM "overlays" WHERE ("overlays"."id" = E'') LIMIT 1) on line #85 of app/views/configurations/edit.html.erb:
82: <% end %>
83: <%= render :partial => 'boundary_select', :locals => {:form => f, :options => {
84: :name => "Level 1 Boundary",
85: :overlay => Configuration.aggregation_boundary_1 && Overlay.find_by_id(Configuration.aggregation_boundary_1),
Title: Math.pow(Maps, (HTML5 + JS)) = Sexiness;
Desc:
At <a href="http://geocommons.com">GeoCommons</a> we make maps, cause maps are awesome. We want everyone to make maps too!
So we've been playing around with ways to make it really easy for people to create maps and share them with JavaScript.
We're using a JS library called <a href="http://polymaps.org">Polymaps</a> that has changed the JS mapping space, and has
introduced several new paradigms for sharing data and creating sweet maps. We talked about and show these new ideas and
discuss what it means for the future of mapping.