Skip to content

Commit a8a5c5c

Browse files
author
Gennadiy Varava
committed
#95 temporary fixed in development branch
1 parent 648dc1f commit a8a5c5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/locationpicker.jquery.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
// Defaults
377377
var settings = $.extend({}, $.fn.locationpicker.defaults, options );
378378
// Initialize
379-
var gmapContext = new GMapContext(this, $.extend({}, settings.mapOptions, {
379+
var gmapContext = new GMapContext(this, $.extend({}, {
380380
zoom: settings.zoom,
381381
center: new google.maps.LatLng(settings.location.latitude, settings.location.longitude),
382382
mapTypeId: settings.mapTypeId,
@@ -394,7 +394,7 @@
394394
markerIcon: settings.markerIcon,
395395
markerDraggable: settings.markerDraggable,
396396
markerVisible: settings.markerVisible
397-
}));
397+
}, settings.mapOptions));
398398
$target.data("locationpicker", gmapContext);
399399
// Subscribe GMap events
400400
function displayMarkerWithSelectedArea() {

0 commit comments

Comments
 (0)