PageSourceSearch

https://www.fortbendcountytx.gov/sites/default/files/js/optimized/…VUGeqek6nDpGDuxqo2SyBOHufYphgU.js?v=8.x-3.x

js fortbendcountytx.gov collected 2026-10-09 22:59:24 UTC 2,401 bytes, 9 lines download raw bytes

1/* Source and licensing information for the line(s) below can be found at https://www.fortbendcountytx.gov/modules/contrib/geolocation/js/geolocation-map.js. */
2(function($,Drupal){"use strict";Drupal.behaviors.geolocationMap={attach:function(context,drupalSettings){$(once("geolocation-map-processed",".geolocation-map-wrapper")).each(function(index,item){var mapWrapper=$(item);var mapSettings={};var reset=false;mapSettings.id=mapWrapper.attr("id");mapSettings.wrapper=mapWrapper;if(mapWrapper.length===0){return;}
3mapSettings.lat=0;mapSettings.lng=0;if(mapWrapper.data("centre-lat")&&mapWrapper.data("centre-lng")){mapSettings.lat=Number(mapWrapper.data("centre-lat"));mapSettings.lng=Number(mapWrapper.data("centre-lng"));}
4if(mapWrapper.data("map-type")){mapSettings.type=mapWrapper.data("map-type");}
5if(typeof drupalSettings.geolocation==="undefined"){console.error("Bailing out for lack of settings.");return;}
6$.each(drupalSettings.geolocation.maps,function(mapId,currentSettings){if(mapId===mapSettings.id){mapSettings=$.extend(currentSettings,mapSettings);}});if(mapWrapper.parent().hasClass("preview-section")){if(mapWrapper.parentsUntil("#views-live-preview").length){reset=true;}}
7var map=Drupal.geolocation.Factory(mapSettings,reset);if(!map){once.removeOnce("geolocation-map-processed",mapWrapper);return;}
8map.addInitializedCallback(function(map){map.removeControls();$(".geolocation-map-controls > *",map.wrapper).each(function(index,control){map.addControl(control);});map.removeMapMarkers();var locations=map.loadMarkersFromContainer();$.each(locations,function(index,location){map.setMapMarker(location);});map.removeShapes();var shapes=map.loadShapesFromContainer();$.each(shapes,function(index,shape){map.addShape(shape);});map.setCenter();map.wrapper.find(".geolocation-location").hide();});map.addUpdatedCallback(function(map,mapSettings){map.settings=$.extend(map.settings,mapSettings.settings);map.wrapper=mapSettings.wrapper;mapSettings.wrapper.find(".geolocation-map-container").replaceWith(map.container);map.lat=mapSettings.lat;map.lng=mapSettings.lng;if(typeof mapSettings.map_center!=="undefined"){map.mapCenter=mapSettings.map_center;}});});},detach:function(context,drupalSettings){},};})(jQuery,Drupal);
9/* Source and licensing information for the above line(s) can be found at https://www.fortbendcountytx.gov/modules/contrib/geolocation/js/geolocation-map.js. */

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.