Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Dragging google maps 3 with custom overlays causes VERY HUGE LAG

  • பதில்கள் இல்லை
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 1 view

I started using version 3 of google maps api, but there is a BIG problem.

When I create more than 20-30 custom overlays on the map AND try to drag the map with the mouse there is VERY HUGE lag.

When I use the build in control to pan the map there is NO lag.

Any idea what is happening? When I use version 2 the lag appears after adding more than 200 custom overlays. Version 3 start lagging with 20-30 only. This does not happen with browsers like chrome and internet explorer

P.S. By custom overlay I mean subclassing OverlayView.

version 3 example: http://46.233.14.168:8080/GoogleMapsTest/testPage.jsp

version 2 example: http://46.233.14.168:8080/GoogleMapsTest/testPage2.jsp

I started using version 3 of google maps api, but there is a BIG problem. When I create more than 20-30 custom overlays on the map AND try to drag the map with the mouse there is VERY HUGE lag. When I use the build in control to pan the map there is NO lag. Any idea what is happening? When I use version 2 the lag appears after adding more than 200 custom overlays. Version 3 start lagging with 20-30 only. This does not happen with browsers like chrome and internet explorer P.S. By custom overlay I mean subclassing OverlayView. version 3 example: http://46.233.14.168:8080/GoogleMapsTest/testPage.jsp version 2 example: http://46.233.14.168:8080/GoogleMapsTest/testPage2.jsp