I want to use multipul map on single page.
Here is.
# example.html.erb
<%= gmaps4rails(@json1) %>
<%= gmaps4rails(@json2) %>
Map can’t display, all map white out …
Please help if anyone knows the solution.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
EDIT:
Since
v1.0.0, it’s really simple to add multiple maps on the same page, see wiki.It’s not very straight as I didn’t need this but it could be done quite easily.