/* VideoPress Settings Modal style overrides */ .mce-videopress-field-guid, .mce-videopress-field-freedom, .mce-videopress-field-flashonly { display: none; } .mce-videopress-checkbox .mce-checkbox { left: 120px !important; width: 100% !important; /* assigning a full width so the label area is clickable */ } .mce-videopress-checkbox .mce-label { left: 150px !important; } .mce-videopress-checkbox .mce-label-unit { position: absolute; left: 210px; top: 5px; } .mce-videopress-checkbox i.mce-i-checkbox { background-color: #fff; color: #4f94d4; } .mce-videopress-checkbox .mce-i-checkbox:before { display: inline-block; vertical-align: middle; width: 16px; font: 400 21px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: -3px 0 0 -3px; content: "\f147"; } .mce-videopress-checkbox .mce-i-checkbox.mce-checked:before { content: "\f147"; } div[class*=mce-videopress-field] input[type=number] { width: 70px !important; left: 120px !important; } .mce-videopress-field-w .mce-label, .mce-videopress-field-at .mce-label { width: 115px !important; text-align: right; } .mce-videopress-field-unit { position: absolute; left: 210px; top: 5px; } kasiino jalgsi – Belal Amhed hacklink al hack forum organik hit kayseri escort istanbul escortbakırköy escortataköy escortkadıköy escortşişli escorteskortistanbul escort bayanataşehir escortjojobetz-libSultangazi escortgrandbettingonwinholiganbet girişSoft2betSolana Trading BotSweet BonanzaJojobetperabetholiganbetbettiltjojobet girişholiganbet girişjojobet 1023 com girissahabetmariobetJojobettrust walletDiyarbakır escortDiyarbakır escortsahabettürk porno türk ifşa porno türk türk porno izleturk ifaa , ifşa, türk sex, ifsa, telegram, türk telegram ifsa, turk ifea, turk ifsq, turk igsa, hd türk ifşa, turk ifsa, türk ifşa telegram kanalları, ifşa link, güncel ifşa, türk ifşa izle, türk porno, porn izle, turk porn, türkçe porno izle, porno izle hd porno türk sikis türk seks video türk ifşa telegram telegram porno telegram onlyfans ücretsiz porno sikiş porno indir konulu porno mobil porno seks filmi pormo mobil porno izle türk porno pornhucasibombetciozbahiszbahiszbahiszbahisjojobetgamdom girişgamdomsahabet,sahabet giriş,sahabet güncel giriş466marsbahisultrabet twittergüncel girişpadişahbet güncelgüncel girişcasibomizmir escortjojobetsahabetpusulabet giriş
Skip to content
const JetLeafletPopup = function( data ) { this.popup = data.popup; this.popupContent = null; this.map = data.map || null; this.contentIsSet = function() { return null !== this.popupContent; } this.close = function() { // runs automatically return; } this.setMap = function( map ) { this.map = map; } this.draw = function() { // runs automatically return; } this.open = function( map, marker ) { // runs automatically return; } this.setContent = function( content ) { // Convert a content to an HTMLElement to store the HTML manipulation in a popup if ( typeof content.nodeType === 'undefined' ) { let contentHtml = document.createElement( 'div' ); contentHtml.innerHTML = content; content = contentHtml; } this.popupContent = content; this.popup.setContent( content ); } return this; }; window.JetEngineMapsProvider = function() { this.getId = function() { return 'leaflet'; } this.initMap = function( container, settings ) { settings = settings || {}; let settingsMap = { zoom: 'zoom', center: 'center', scrollWheelZoom: 'scrollwheel', zoomControl: 'zoomControl', maxZoom: 'maxZoom', minZoom: 'minZoom', }; let parsedSettings = {} for ( const [ lKey, settingsKey ] of Object.entries( settingsMap ) ) { if ( undefined !== settings[ settingsKey ] ) { parsedSettings[ lKey ] = settings[ settingsKey ]; } } if ( parsedSettings.center ) { parsedSettings.center = L.latLng( parsedSettings.center.lat, parsedSettings.center.lng ); } const map = L.map( container, parsedSettings ); const tileURL = window.JetPlugins.hooks.applyFilters( 'jet-engine.maps-listings.leaflet.tileURL', 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png' ); const tileOptions = window.JetPlugins.hooks.applyFilters( 'jet-engine.maps-listings.leaflet.tileOptions', { attribution: '© OpenStreetMap contributors' } ); L.tileLayer( tileURL, tileOptions ).addTo( map ); return map; } this.initBounds = function() { const bounds = L.latLngBounds( [] ); return bounds; } this.getMarkerPosition = function( marker ) { return marker.getLatLng(); } this.fitMapBounds = function( data ) { let center = null; try { center = data.bounds.getCenter(); } catch ( e ) { console.log( 'Can`t define new map center without markers.' ); } if ( center ) { data.map.fitBounds( data.bounds ); return true; } else { return false; } } this.addMarker = function( data ) { var myIcon = L.divIcon( { html: data.content, iconSize: [ 32, 32 ] } ); var marker = L.marker( [ data.position.lat, data.position.lng ], { icon: myIcon } ); if ( ! data.markerClustering ) { marker.addTo( data.map ); } return marker; } this.removeMarker = function( marker ) { marker.remove(); } this.closePopup = function( infoBox, callback, map ) { map.on( 'popupclose', ( e ) => { if ( e.popup === infoBox.popup ) { callback(); } } ); } this.openPopup = function( trigger, callback, infobox, map, openOn ) { map.on( 'popupopen', ( e ) => { if ( e.popup === infobox.popup ) { callback(); } } ); trigger.bindPopup( infobox.popup ); if ( 'hover' === openOn ) { trigger.on( 'mouseover', function () { if ( ! trigger.isPopupOpen() ) { trigger.openPopup(); } } ); } } this.triggerOpenPopup = function( trigger ) { trigger.openPopup(); } this.getMarkerCluster = function( data ) { let options = {}; const optionsMap = { disableClusteringAtZoom: 'clusterMaxZoom', maxClusterRadius: 'clusterRadius', }; for ( const [ optionKey, settingsKey ] of Object.entries( optionsMap ) ) { if ( undefined !== data[ settingsKey ] && '' !== data[ settingsKey ] ) { options[ optionKey ] = data[ settingsKey ]; } } var markersGrpup = L.markerClusterGroup( options ); markersGrpup.addLayers( data.markers ); data.map.addLayer( markersGrpup ); return markersGrpup; } this.addMarkers = function( markerCluster, markers ) { markerCluster.addLayers( markers ); } this.removeMarkers = function( markerCluster, markers ) { markerCluster.removeLayers( markers ); } this.markerOnClick = function( map, data, callback ) { data = data || {}; data.map = map; data.shadow = false; map.on( "click", ( event ) => { data.position = { lat: event.latlng.lat, lng: event.latlng.lng, }; if ( callback ) { callback( this.addMarker( data ) ); } } ); } this.setCenterByPosition = function( data ) { data.map.setView( data.position, data.zoom ); } this.setAutoCenter = function( data ) { if ( ! this.fitMapBounds( data ) ) { if ( window.JetEngineMapData && window.JetEngineMapData.mapCenter ) { data.map.setView( window.JetEngineMapData.mapCenter, 10 ); } else { data.map.fitWorld(); } } } this.addPopup = function( data ) { const popup = L.popup( { maxWidth: data.width, minWidth: data.width, keepInView: true, className: 'jet-map-box', } ); return new JetLeafletPopup( { popup: popup } ); } this.getMarkerMap = function( marker ) { return marker._map; } this.fitMapToMarker = function( marker, markersClusterer, zoom ) { markersClusterer.zoomToShowLayer( marker, () => { this.panTo( { map: markersClusterer._map, position: this.getMarkerPosition( marker ), zoom: zoom } ); this.triggerOpenPopup( marker ); } ); } this.panTo = function( data ) { var zoom = ( data.zoom && data.zoom > data.map.getZoom() ) ? data.zoom : data.map.getZoom(); data.map.flyTo( data.position, zoom ); } }