git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Slice Request page added /portal/slice_request
[myslice.git]
/
plugins
/
googlemap
/
googlemap.js
diff --git
a/plugins/googlemap/googlemap.js
b/plugins/googlemap/googlemap.js
index
607d658
..
62e1d6f
100644
(file)
--- a/
plugins/googlemap/googlemap.js
+++ b/
plugins/googlemap/googlemap.js
@@
-29,9
+29,9
@@
$this.data('markerCluster', null);
$this.data('markers', []);
$this.data('markerCluster', null);
$this.data('markers', []);
- var myLatlng = new google.maps.LatLng(
34.397, 150.644
);
+ var myLatlng = new google.maps.LatLng(
options.latitude, options.longitude
);
var myOptions = {
var myOptions = {
- zoom:
2
,
+ zoom:
options.zoom
,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}