Skip to content

Commit c32a3ed

Browse files
committed
#34 added opportunity to change mapTypeId on plugin initialization;
1 parent 6f66594 commit c32a3ed

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

dist/locationpicker.jquery.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jquery-locationpicker - v0.1.13 - 2016-03-11 */
1+
/*! jquery-locationpicker - v0.1.13 - 2016-09-02 */
22
(function($) {
33
function GMapContext(domElement, options) {
44
var _map = new google.maps.Map(domElement, options);
@@ -293,7 +293,7 @@
293293
var gmapContext = new GMapContext(this, {
294294
zoom: settings.zoom,
295295
center: new google.maps.LatLng(settings.location.latitude, settings.location.longitude),
296-
mapTypeId: google.maps.MapTypeId.ROADMAP,
296+
mapTypeId: settings.mapTypeId,
297297
mapTypeControl: false,
298298
disableDoubleClickZoom: false,
299299
scrollwheel: settings.scrollwheel,
@@ -327,6 +327,7 @@
327327
locationName: "",
328328
radius: 500,
329329
zoom: 15,
330+
mapTypeId: google.maps.MapTypeId.ROADMAP,
330331
scrollwheel: true,
331332
inputBinding: {
332333
latitudeInput: null,

dist/locationpicker.jquery.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)