Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6998583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:25:47+00:00 2026-05-27T20:25:47+00:00

I am using gmaps4rails and I have a set of dynamic generated markers, about

  • 0

I am using gmaps4rails and I have a set of dynamic generated markers, about 14, that I display across the globe. I use auto_adjust and it looks good, however, it seems that the size that I have chosen for the map fits perfectly between two zoom levels. It either shows too much of the map (e.g. you see asia on both sides) or if I zoom in one level, I don’t see some markers.
The css width and height we have chosen is what we want to fit in the window. Smaller or larger (to match the two zooming levels) wouldn’t look as good.
The goal being, a larger image, but staying at the same, fixed, zoom.
Is there a way to scale the map, like you can with images?

I am using rails 2.3.11 and had to copy in the js/css assets and modify/override the gmaps4rails view. I am not using the gmapable module.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T20:25:48+00:00Added an answer on May 27, 2026 at 8:25 pm

    I hope that somebody can prove me wrong, but it appears that you can not scale a map other than with zoom. The lowest zoom level, 0, appears to use up 256 pixels for the width of the globe (before it begins to overlap). Then if I zoom it out to 1, it doubles it to 512, then zooming to 2, it doubles again to 1024.

    So my solution, to be able to see the entire globe but not have it overlap, is to either pick a size that is 512 or 1024 pixels wide and zoom to the appropriate level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using gmaps4rails and I have a good amount of markers, now when I
I am displaying 10 or so markers on google maps using gmaps4rails. When the
I'm using gmaps4rails awesome gem in my current project and have to import more
I'm using gmaps4rails on my project. This gem works amazing but i have a
I'm using Gmaps4rails to display a map of properties. The properties model has an
Using report builder 3.0, I have a report that queries a cube. How do
Using CRM 4, I have an entity form that contains a tab with an
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using Android 2.1+. I have a service that gets killed from time to time
using chrome 15 on osx 10.6.8 When adding event listeners, I've found that putting

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.