apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Blank Page is appearing when rendering the partial page. #264

Closed yasshu317 closed 10 years ago

yasshu317 commented 12 years ago

Hi,

I am Using Haml and liquid Views. I am trying to show the googlemap in my project. I followed the steps given by you. It worked well when i am redirecting the page, Map is getting loaded and showing the locations. But as per my requirement , I should not reload(redirect) the page. So, I am trying to render the partial page. rectangular box is loaded and its showing blank in that box.

I am not getting any error also.

Please help me out in this.

Following is the gem list which i am using.

abstract (1.0.0) actionmailer (3.0.7, 3.0.0) actionpack (3.0.7, 3.0.0) activemodel (3.0.7, 3.0.0) activerecord (3.0.7, 3.0.0) activeresource (3.0.7, 3.0.0) activesupport (3.0.7, 3.0.0) addressable (2.2.7) arel (2.0.10, 1.0.1) bcrypt-ruby (2.1.2) beanstalk-client (1.1.1) builder (2.1.2) bundler (1.1.5, 1.0.0) capistrano (2.5.19) chronic (0.6.7) closure-compiler (0.3.2) compass (0.10.5) cookiejar (0.3.0) crack (0.1.8) crm114 (1.0.3) curb (0.7.15) daemons (1.1.8) delayed_job (3.0.1) delayed_job_active_record (0.3.2) dots (0.0.2) em-http-request (1.0.2) em-socksify (0.2.0) em-synchrony (1.0.0) erubis (2.6.6) eventmachine (1.0.0.beta.4) ezcrypto (0.7.2) faker (0.3.1) fakeweb (1.2.8) fastercsv (1.5.4) fcoury-aasm (2.1.5) geokit (1.6.5) gmaps4rails (1.5.5) haml (3.0.18) highline (1.6.1) hpricot (0.8.6) http_parser.rb (0.5.3) httparty (0.6.1) i18n (0.5.0, 0.4.2) jammit (0.5.1) json (1.4.6) liquid (2.2.2) machinist (1.0.6) machinist_mongo (2.0.0.pre) mail (2.2.19, 2.2.5) memcache-client (1.8.5) mime-types (1.19, 1.16) mocha (0.9.12) multi_json (1.3.6) mysql2 (0.2.18) net-scp (1.0.3) net-sftp (2.0.5) net-ssh (2.0.23) net-ssh-gateway (1.0.1) nokogiri (1.5.0) polyglot (0.3.3, 0.3.1) rack (1.2.5, 1.2.1) rack-mount (0.6.14, 0.6.13) rack-test (0.5.7, 0.5.4) rails (3.0.7, 3.0.0) railties (3.0.7, 3.0.0) rake (0.9.2.2, 0.8.7) responders (0.6.2) ruby-prof (0.8.1) rubygems-bundler (1.0.3) rvm (1.11.3.5) shoulda (2.11.2) stomp (1.2.0) thor (0.14.6, 0.14.0) treetop (1.4.10, 1.4.8) tzinfo (0.3.33, 0.3.31) uuidtools (2.1.1) wand (0.2.1) warden (0.10.7) whenever (0.7.3) yui-compressor (0.9.1)

apneadiving commented 12 years ago

I already answered this question 1000 times.

See questions referring to ajax load of maps using the gem.

On Sep 7, 2012, at 12:59 PM, yaswanth wrote:

Hi,

I am Using Haml and liquid Views. I am trying to show the googlemap in my project. I followed the steps given by you. It worked well when i am redirecting the page, Map is getting loaded and showing the locations. But as per my requirement , I should not reload(redirect) the page. So, I am trying to render the partial page. rectangular box is loaded and its showing blank in that box.

I am not getting any error also.

Please help me out in this.

— Reply to this email directly or view it on GitHub.

yasshu317 commented 12 years ago

Thanks for your time. I had tried out that also, but after clicking on Ajax Button Its calling Initialize method and then from that its not executing. This time even I didn't find the blank rectangular box.

luiscruz commented 12 years ago

@apneadiving Ok, you said 999 times that you answered this question 1000 times. And I can find it 999 times...

apneadiving commented 12 years ago

@luiscruz :) see: https://gist.github.com/1643990

luiscruz commented 12 years ago

thanks ;P