Agapkin's public fiddles
-
Google Maps v3 Infowindows at true location anchor
This adapts the Google Maps API Infowindow example to place the infowindow anchor at the actual marker point, instead of the top of the marker image. This is achieved by temporarily hiding the marker visibility while the infowindow is being displayed. It also assigns the marker object directly to the markers array, instead of the usu al assignment to the marker variable which is then pushed to the markers array anyway. This prevents unneeded assignments, helps keep the global namespace cleaner, and speeds up processing.
-
gac18u2e
jQuery 1.7.2, HTML, CSS, JavaScript
-
Control positioning
No-Library (pure JS), HTML, CSS, JavaScript
-
Control positioning
No-Library (pure JS), HTML, CSS, JavaScript
-
Disabling the default UI
No-Library (pure JS), HTML, CSS, JavaScript
-
Prevents map change on page scroll
No-Library (pure JS), HTML, CSS, JavaScript
-
3Lhwun7j
No-Library (pure JS), HTML, CSS, JavaScript
-
w8yhesb3
No-Library (pure JS), HTML, CSS, JavaScript
-
1gwy9pxb
No-Library (pure JS), HTML, CSS, JavaScript
-
Lse8v72p
No-Library (pure JS), HTML, CSS, JavaScript
-
bmk2puvr
No-Library (pure JS), HTML, CSS, JavaScript
-
wbn7xrL5
No-Library (pure JS), HTML, CSS, JavaScript
-
tdm0q4Lg
No-Library (pure JS), HTML, CSS, JavaScript
-
rs7v1mhw
No-Library (pure JS), HTML, CSS, JavaScript
-
fg1qvkw4
No-Library (pure JS), HTML, CSS, JavaScript
-
kn3vhw96
No-Library (pure JS), HTML, CSS, JavaScript
-
de1gq3sc
jQuery 2.1.3, HTML, CSS, JavaScript
-
1267jy4m
No-Library (pure JS), HTML, CSS, JavaScript
-
6qpcxht4
jQuery 1.9.1, HTML, CSS, JavaScript
-
ya7sz8ke
jQuery 2.1.3, HTML, CSS, JavaScript