Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Google API changed...

  • Loading branch information...
commit 70932cb04bf388dfd744f6a3f2eab8cff2c14c25 1 parent 0e066b4
Christian Hellsten authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.google-maps.tooltip.js
4 jquery.google-maps.tooltip.js
View
@@ -63,8 +63,8 @@ function MapTooltip(map, tip, onBeforeShow, onBeforeHide) {
// Map world relative to map container
// TODO This needs to be configurable and more exact
- var p = overlay.get_projection().fromLatLngToDivPixel(marker.get_position());
- var dragObject = overlay.get_panes().mapPane.parentNode;
+ var p = overlay.getProjection().fromLatLngToDivPixel(marker.getPosition());
+ var dragObject = overlay.getPanes().mapPane.parentNode;
var x = p.x + $tooltip.width(); // + parseInt(dragObject.style.left);
var y = p.y + $tooltip.height() / 2; // + parseInt(dragObject.style.top);
Please sign in to comment.
Something went wrong with that request. Please try again.