ruby on rails - Gmaps4rails visualRefresh (Google maps) -
good day. know how turn on visualrefresh on gmaps4rails gem. tried (for non static maps) add &visual_refresh = true url parameter didn't work.
in docs wroted insert google.maps.visualrefresh=true; before map shows. have no idea put line gmaps4rails. please help.
this not supported version of google api used in gmaps4rails, set 3.8 on latest gem (v 1.5.6) , 3.9 on master. have opened pull request asking version updated 3.12.
you use forked version , make sure set google.maps.visualrefresh=true
on page before map gets rendered. e.g.
- content_for :scripts :javascript google.maps.visualrefresh = true;
this further cleaned making option passed gmaps
method call, unfortunately @ time don't have bandwidth such change.
Comments
Post a Comment