Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7118

Google map zoom level is too high (maximum) when displaying map with single item

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.beta
    • Fix Version/s: 3.3.beta
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Currently when we render a Google map with a single contact or event item on it, the zoom is set to maximum (100%). This is useless since the map displays w/o any (or very little) data. I've attached a screenshot of my contact record "map" and and Event map.

      NOTE: When multiple records are passed to map - the zoom adjusts properly to the magnification level needed to show all items on the map. This is expected / good behavior. However in my tests, the map style changes to "Terrain" (rather than plain street "Map") whenever I map multiple records. This seems like a bug as well. Screenshot attached.

        Attachments

        1. Picture 18.PNG
          125 kB
          David Greenberg
        2. Picture 19.PNG
          115 kB
          David Greenberg
        3. Picture 20.PNG
          844 kB
          David Greenberg

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: