Zoom and Blur Modal Nesting

Hi all,

Just trying to create a modal that zooms and blurs the background back. Based on avgrund by hakim https://lab.hakim.se/avgrund/

I extended it to get several modals to work.

See fiddle: https://jsfiddle.net/postcolonialboy/9jq84p1h/144/

Could anyone please help to get nested multiple modals to again zoom and blur everything further again on popup?


Zoom при с работе с Google Maps

Пытаюсь разобраться с работой с координатами, вычисляю свои координаты и перемещаю камеру, все верно, но если добавить к точке перемещения zoom, то камера оказывается в океане.

LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE);     if(ContextCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED){         ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_REQUEST);     }else{         lm.requestLocationUpdates(LocationManager.GPS_PROVIDER,1000,1,locationListener);     } 

Перемещение камеры

private LocationListener locationListener = new LocationListener() {     @Override     public void onLocationChanged(Location location)     {         if (location != null)         {             Log.d("TAG", "Широта="+location.getLatitude());             Log.d("TAG", "Долгота="+location.getLongitude());             MoveCamera(location);         }     } 

И сам метод

public void MoveCamera(Location curr) {     mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(curr.getAltitude(),curr.getLongitude()),20)); } 

ember-leaflet – initialize map with zoom to fit all pins

I am using ember-leaflet with a new project and I’ve got a component which houses a map with several markers on it called embedded-map. I’m following the tutorial on their page and can set a static zoom value for my map.

I saw there is some sort of fitBounds function available for the leaflet javascript library. Is there a way to access that while using ember-leaflet? My documentation search came up short, but I did find a template helper that seems related, but not quite what I’m looking for: https://miguelcobain.github.io/ember-leaflet/docs/helpers/lat-lng-bounds.


import Component from "@ember/component"; import { computed } from "@ember/object"; import { readOnly } from "@ember/object/computed";  export default Component.extend({   tagName: "",   zoom: 10.25, /* I'd like this to initialize to fit all map markers */    lat: readOnly("trip.averageLatitude"), /* `trip` is a model passed into the component */   lng: readOnly("trip.averageLongitude"),    location: computed("trip.averageLatitude", "trip.averageLongitude", function() {     return [this.get("averageLatitude"), this.get("averageLongitude")];   }), }); 


{{#leaflet-map lat=lat lng=lng zoom=zoom as |layers|}}   {{layers.tile url="http://{s}.tile.osm.org/{z}/{x}/{y}.png"}}    {{#each trip.days as |day|}}     {{#each day.dayItems as |item|}}       {{#layers.marker location=item.coordinates as |marker|}}         {{#marker.popup}}           <h3>{{item.name}}</h3>         {{/marker.popup}}       {{/layers.marker}}     {{/each}}   {{/each}} {{/leaflet-map}} 

“File Viewer” modern web part zoom level for an excel sheet

I have an excel sheet inside my PC, and i set its zoom to 50% and save it. then i upload it to our sharepoint online document library >> then i show it inside a modern page using “File Viewer” modern part. but the problem is that the excel sheet is showing with extra zoom level, and did not preserve the zoom level saved inside the source excel sheet (50%). which caused the excel sheet to become hard to read inside the file viewer, as only small part of it will be shown inside the page , and users need to scroll horizontally to be able to view the columns, unlike when i set its zoom level to 50%.

so can anyone advice if i can control the zoom level for the excel sheet inside the “file viewer” modern web part? if the answer is No, the what is the best way to view the excel sheet in this case? keeping in mind if i directly view the excel sheet inside the browser (by clicking on it inside the document library), the will face the same zoom level problem.

Zoom API error – Only available for enabled v2 webhooks

I have installed ZoomApi module and also created app in marketplace with JWT.

When I am going to webhook page, Its giving error:-

ZoomAPI\Exception\ApiException: [400] Error handling response. [200] (Only available for enabled v2 webhooks.)

And when I am checking response in marketplace under JWT app in API Call Logs, Its giving following response:-

 {   "endpoint": "https://api.zoom.us/v2/webhooks",   "response_headers": [   "Set-Cookie: _zm_mtk_guid=b25b09a3349e4c4ca769c5800091fe6e;    Domain=.zoom.us; Expires=Wed, 11-Jun-2087 15:39:49 GMT; Path=/; Secure"   ],   "date_time": "2019-05-25 00:25:42",   "method": "GET",   "request_body": "N/A",   "response": {   "code": 200,   "message": "Only available for enabled v2 webhooks."   },  "request_headers": [  "accept: application/json",  "authorization: ******",  "connection: close",  "content-type: application/json",  "user-agent: GuzzleHttp/6.3.3 curl/7.47.0 PHP/7.0.33-  5+ubuntu16.04.1+deb.sury.org+1"   ],  "request_params": [  "page_number: 1",  "page_size: 300"   ],  "http_status": "400"   } 

In gnome-terminal only 2 out of 3 zoom keys work

In gnome-terminal Ubuntu Unity 16.04 LTS the menu works for all three zoom features within the View menu:

  • Zoom In
  • Zoom Out
  • Normal Size

Only two shortcut keys work:

  • Ctrl+Shift++ works to Zoom In
  • Ctrl+- works to Zoom Out.

Attempting to restore Normal Size I found Ctrl+o or Ctrl+Shift+O do not work. These key combinations perform as if the Enter was used.

My modified setup

$   cat .inputrc  # ~/.inputrc - complements /etc/inputrc - global inputrc for libreadline # April 15, 2019 # See readline(3readline) and `info rluserman' for more information.  $  include /etc/inputrc  # Insert key to togged overwrite-mode "\e[2~": overwrite-mode  # April 22, 2019 AU Q&A: https://askubuntu.com/q/1135306/307523 # Make Shift-tab act like "cd ../" (move to parent directory) "\e[Z": "cd ../" 

Custom keyboard shortcuts

keyboard shortcuts.png

  • I believe these are standard. At least I don’t remember changing them.
  • I reviewed all the other shortcuts and Ctrl+o doesn’t appear.

Ubuntu skeleton setup

$   cat /etc/inputrc  # /etc/inputrc - global inputrc for libreadline # See readline(3readline) and `info rluserman' for more information.  # Be 8 bit clean. set input-meta on set output-meta on  # To allow the use of 8bit-characters like the german umlauts, uncomment # the line below. However this makes the meta key not work as a meta key, # which is annoying to those which don't need to type in 8-bit characters.  # set convert-meta off  # try to enable the application keypad when it is called.  Some systems # need this to enable the arrow keys. # set enable-keypad on  # see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys  # do not bell on tab-completion # set bell-style none # set bell-style visible  # some defaults / modifications for the emacs mode $  if mode=emacs  # allow the use of the Home/End keys "\e[1~": beginning-of-line "\e[4~": end-of-line  # allow the use of the Delete/Insert keys "\e[3~": delete-char "\e[2~": quoted-insert  # mappings for "page up" and "page down" to step to the beginning/end # of the history # "\e[5~": beginning-of-history # "\e[6~": end-of-history  # alternate mappings for "page up" and "page down" to search the history # "\e[5~": history-search-backward # "\e[6~": history-search-forward  # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving "\e[1;5C": forward-word "\e[1;5D": backward-word "\e[5C": forward-word "\e[5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word  $  if term=rxvt "\e[7~": beginning-of-line "\e[8~": end-of-line "\eOc": forward-word "\eOd": backward-word $  endif  # for non RH/Debian xterm, can't hurt for RH/Debian xterm # "\eOH": beginning-of-line # "\eOF": end-of-line  # for freebsd console # "\e[H": beginning-of-line # "\e[F": end-of-line  $  endif 

Any clues?

Magento 2 Magnifier using set the zoom product image at mobile device

I want to magnifier enable at the product details page using this way. but there magnifier enable at the desktop device.

 <var name="magnifier">         <var name="fullscreenzoom">20</var>  <!-- Zoom for fullscreen (integer)-->         <var name="top"></var> <!-- Top position of magnifier -->         <var name="left"></var> <!-- Left position of magnifier -->         <var name="width"></var> <!-- Width of magnifier block -->         <var name="height"></var> <!-- Height of magnifier block -->         <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->         <var name="enabled">false</var> <!-- Turn on/off magnifier (true/false) -->         <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->   </var> 

Actually i want to enable magnifier at the mobile device.