Report abuse

code that creates it

1
2
3
4
      @mapper.overlay_init(GMarker.new([map.lat, map.lng], 
        :title => map.name,
        :info_window_tabs => {:tab => "INFO", :content => @marker_html}))

error in firebug

1
2
3
label is not defined
map.setCenter(new GLatLng(30.637321,-96....;map.addControl(new GLargeMapControl());

log

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Processing Admin::MapsController#index (for 127.0.0.1 at 2009-04-22 19:44:43) [GET]
  Map Load (0.6ms)   SELECT * FROM "maps" WHERE (approved = 't') 
  User Load (0.5ms)   SELECT * FROM "users" WHERE ("users"."id" = 1) LIMIT 1
  Asset Load (1.2ms)   SELECT "assets".* FROM "assets" INNER JOIN attachings ON assets.id = attachings.asset_id WHERE (("attachings".attachable_type = 'Map') AND ("attachings".attachable_id = 4)) 
[paperclip] Paperclip attachment data on Asset initialized.
[paperclip] Paperclip attachment data on Asset initialized.
Rendering template within layouts/admin
Rendering admin/maps/index
  Category Load (0.3ms)   SELECT * FROM "categories" 
Rendered admin/maps/_new (9.5ms)
Rendered admin/users/_user_bar (3.2ms)
  Role Load (0.4ms)   SELECT * FROM "roles" WHERE ("roles"."id" = 1) 
Completed in 69ms (View: 32, DB: 2) | 200 OK [http://localhost/admin/maps]