The Google Maps widget for field_geo (Geolocation OSM Submodule) works fine, but it displays somewhat distorted, almost invisible / unusable zoom in/zoom out / pan controls. See attached images.

On Firefox and Safari, the controls show just fine.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Carlos Miranda Levy’s picture

Title: Distorted controls on Google Map Widget for field_geo » Distorted controls on Google Map Widget for field_geo on Google Chrome
Issue summary: View changes
FileSize
84.54 KB
100.23 KB
markaspot’s picture

Status: Active » Postponed (maintainer needs more info)

Did you really use the Geolocation OSM Submodule to load the tiles from Google? You should use the Geolocation Google Maps Submodule for this. If you did so, the bug should be filed in their issue queue. Anyway I will help as good as I can.

Carlos Miranda Levy’s picture

I get this on fresh install.
I's not the Geolocation OSM Submodule, as this is the Google Maps widget, submodule of geolocation field ( https://drupal.org/project/geolocation ).

It's actually a Theme issue.
Switching to Seven as Administration theme on /admin/appearance fixes this.

colorado’s picture

FileSize
154.66 KB

Same distortion in IE 10. Switching to Seven for Admin theme worked for me too.

markaspot’s picture

I figured it out. Seems that we have to override the definitions in Ember's style.css. Thanks for testing.

/**
 * Default media styles
 */
img,
video,
audio,
figure {
  /* display: block; */
  /* margin: 0.70711em 0; */
  /* max-width: 100%; */
  /* height: auto; */
}

  • Commit c6bd98a on 7.x-2.x by markaspot:
    Issue #2241449 by Carlos Miranda Levy, colorado: Distorted controls on...
markaspot’s picture

Status: Postponed (maintainer needs more info) » Needs work

This is now fixed with commit #83b0e2c. Still there is a slight map distortion with the Ember theme which I can't resolve to google maps generated markup or Ember's CSS. If someone finds some time digging deeper into that, I will be happy to apply a patch.

markaspot’s picture

Status: Needs work » Fixed

Closing this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.