@bmlt-enabled/croutonjs 3.12.8 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{croutonjs-build1044-5a3e2d25bcc57fdc85e3af669234ce0b16bc772e.zip → croutonjs-build1065-d51591651b6f8e170ff87d7041d9000e01c5a24f.zip} +0 -0
- package/crouton.js +1 -6
- package/crouton.min.js +1 -1
- package/crouton.nojquery.js +1 -6
- package/crouton.nojquery.min.js +1 -1
- package/dist_croutonjs/github/croutonjs.zip +0 -0
- package/dist_croutonjs/s3/{croutonjs-build1044-5a3e2d25bcc57fdc85e3af669234ce0b16bc772e.zip → croutonjs-build1065-d51591651b6f8e170ff87d7041d9000e01c5a24f.zip} +0 -0
- package/package.json +1 -1
- package/templates/themes/kevin.css +6 -4
|
Binary file
|
package/crouton.js
CHANGED
|
@@ -15078,7 +15078,6 @@ Crouton.prototype.mapSearchPanZoomMode = function() {
|
|
|
15078
15078
|
Crouton.prototype.mapSearchNearMeMode = function() {
|
|
15079
15079
|
var self = this;
|
|
15080
15080
|
self.mapSearchPanZoomMode();
|
|
15081
|
-
jQuery("#panzoom").prop("checked", true);
|
|
15082
15081
|
self.getCurrentLocation(function(position) {
|
|
15083
15082
|
self.searchByCoordinates(position.coords.latitude, position.coords.longitude);
|
|
15084
15083
|
});
|
|
@@ -15087,7 +15086,6 @@ Crouton.prototype.mapSearchNearMeMode = function() {
|
|
|
15087
15086
|
Crouton.prototype.mapSearchTextMode = function(location) {
|
|
15088
15087
|
var self = this;
|
|
15089
15088
|
self.mapSearchPanZoomMode();
|
|
15090
|
-
jQuery("#panzoom").prop("checked", true);
|
|
15091
15089
|
if (location !== undefined && location !== null && location !== "") {
|
|
15092
15090
|
self.geocoder.geocode({'address': location}, function (results, status) {
|
|
15093
15091
|
if (status === 'OK') {
|
|
@@ -15129,7 +15127,7 @@ Crouton.prototype.renderMap = function() {
|
|
|
15129
15127
|
// Set CSS for the control interior
|
|
15130
15128
|
var clickSearch = document.createElement('div');
|
|
15131
15129
|
clickSearch.className = 'mapcontrols';
|
|
15132
|
-
clickSearch.innerHTML = '<label for="nearme" class="mapcontrolslabel"><input type="radio" id="nearme" name="mapcontrols"> ' + self.localization.getWord('near_me') + '</label><label for="textsearch" class="mapcontrolslabel"><input type="radio" id="textsearch" name="mapcontrols"> ' + self.localization.getWord('text_search') + '</label><label for="clicksearch" class="mapcontrolslabel"><input type="radio" id="clicksearch" name="mapcontrols"> ' + self.localization.getWord('click_search') + '</label
|
|
15130
|
+
clickSearch.innerHTML = '<label for="nearme" class="mapcontrolslabel"><input type="radio" id="nearme" name="mapcontrols"> ' + self.localization.getWord('near_me') + '</label><label for="textsearch" class="mapcontrolslabel"><input type="radio" id="textsearch" name="mapcontrols"> ' + self.localization.getWord('text_search') + '</label><label for="clicksearch" class="mapcontrolslabel"><input type="radio" id="clicksearch" name="mapcontrols"> ' + self.localization.getWord('click_search') + '</label>';
|
|
15133
15131
|
controlUI.appendChild(clickSearch);
|
|
15134
15132
|
controlDiv.index = 1;
|
|
15135
15133
|
|
|
@@ -15141,8 +15139,6 @@ Crouton.prototype.renderMap = function() {
|
|
|
15141
15139
|
self.mapSearchNearMeMode();
|
|
15142
15140
|
} else if (controlsButtonSelections === "clicksearch") {
|
|
15143
15141
|
self.mapSearchClickMode();
|
|
15144
|
-
} else if (controlsButtonSelections === "panzoom") {
|
|
15145
|
-
self.mapSearchPanZoomMode();
|
|
15146
15142
|
}
|
|
15147
15143
|
});
|
|
15148
15144
|
|
|
@@ -15150,7 +15146,6 @@ Crouton.prototype.renderMap = function() {
|
|
|
15150
15146
|
self.map.addListener('click', function (data) {
|
|
15151
15147
|
if (self.mapClickSearchMode) {
|
|
15152
15148
|
self.mapSearchPanZoomMode();
|
|
15153
|
-
jQuery("#panzoom").prop("checked", true);
|
|
15154
15149
|
self.searchByCoordinates(data.latLng.lat(), data.latLng.lng());
|
|
15155
15150
|
}
|
|
15156
15151
|
});
|