UNPKG
jqvmap
Version:
latest (1.5.1)
1.5.1
1.5.0
1.0.1
1.0.0
jQuery Vector Map Library
jqvmap.com
manifestinteractive/jqvmap
jqvmap
/
src
/
JQVMap
/
bindZoomButtons.js
10 lines
(9 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
JQVMap
.
prototype
.
bindZoomButtons
=
function
(
) {
var
map =
this
;
this
.
container
.
find
(
'.jqvmap-zoomin'
).
click
(
function
(
){ map.
zoomIn
(); });
this
.
container
.
find
(
'.jqvmap-zoomout'
).
click
(
function
(
){ map.
zoomOut
(); }); };