Ticket #1948 (closed feature: fixed)

Opened 4 years ago

Last modified 4 years ago

Missing GoogleMaps tiles on display

Reported by: openlayers Owned by: euzuro
Priority: minor Milestone:
Component: Layer.Google Version: 2.7
Keywords: Cc:
State: Complete

Description

Hi,

I'm trying to use OpenLayers for the first time and have a serious problem. I've creating a map containing four GoogleMaps layers and a markers layer. And :

  • when the map is displayed for the first time, some tiles are missing (Cf first screenshot) ; I have to zoom or translate the map to make them display correctly
  • if I switch to another layer after moving/zooming the first one, some tiles (on right and/or bottom of the map) are always missing (Cf second screenshot)
  • if I switch to another layer **before** moving/zooming the first one, tiles are always missing and layers seems to be "unsynchronized" (not the same zoom level and not centered on the same point)
  • tracking a few activity with Firebug shows that some tiles are loaded, but it's those which are located to the upper-left sides of the map, which are (normally !) unseen...

You'll find my source code in the "source.txt" file ("location_map" is an HTML div, defined of 540x400 pixels in CSS).

Thanks for any help, Thierry

Attachments

PbGoogleMaps.jpeg Download (32.0 KB) - added by openlayers 4 years ago.
PbGoogleMaps-2.jpeg Download (19.2 KB) - added by openlayers 4 years ago.
source.txt Download (1.5 KB) - added by openlayers 4 years ago.

Change History

Changed 4 years ago by openlayers

Changed 4 years ago by openlayers

Changed 4 years ago by openlayers

Changed 4 years ago by openlayers

  • priority changed from minor to major
  • type changed from feature to bug

Changed 4 years ago by openlayers

  • priority changed from major to minor
  • status changed from new to closed
  • state set to Complete
  • resolution set to fixed
  • type changed from bug to feature

Problem solved : the problem was that the matching DIV was hidden when the map was initialized. Hiding the DIV after map initialization solves the problem.

Note: See TracTickets for help on using tickets.