Skip to content

Commit

Permalink
2.0.0: gmap fuulscreen disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
eoxia-amandine committed Jul 4, 2018
1 parent 6d4d6f5 commit 60d19e3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion core/asset/js/backend.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ window.eoxiaJS.annonces.annonce.createMap = function( map ) {
var myLatlng = new google.maps.LatLng($markers.attr('lat'),$markers.attr('lng'));
var $listMarker = [];
var $htmlMarker = [];
var $gMap = new google.maps.Map( jQuery( $map ).find( '#annonces-google-map' )[0], {zoom: 8, center: myLatlng} );
var args = {
zoom: 8,
center: myLatlng,
fullscreenControl: false,
};
var $gMap = new google.maps.Map( jQuery( $map ).find( '#annonces-google-map' )[0], args );


jQuery( $markers ).each(function() {
Expand Down
7 changes: 6 additions & 1 deletion modules/annonce/asset/js/annonce.backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ window.eoxiaJS.annonces.annonce.createMap = function( map ) {
var myLatlng = new google.maps.LatLng($markers.attr('lat'),$markers.attr('lng'));
var $listMarker = [];
var $htmlMarker = [];
var $gMap = new google.maps.Map( jQuery( $map ).find( '#annonces-google-map' )[0], {zoom: 8, center: myLatlng} );
var args = {
zoom: 8,
center: myLatlng,
fullscreenControl: false,
};
var $gMap = new google.maps.Map( jQuery( $map ).find( '#annonces-google-map' )[0], args );


jQuery( $markers ).each(function() {
Expand Down

0 comments on commit 60d19e3

Please sign in to comment.