1. cpper's Avatar
    I'm developing an app which displays a google map (satellite layer) into a web view. Thus, I'm using the Google Maps JavaScript API. I've noticed the JS API imagery is low quality and quite blurry on Android, but not in desktop chrome. Not only in my app, but on any site that embeds a JS Google map.

    Take as example the maps JS API hello world example (satellite layer):
    In desktop chrome, using device simulator, the imagery is sharp
    In the google maps android app, the imagery is as sharp
    In android chrome, the imagery is blurry and ugly.
    Below are two examples. Left pic in each image is the JS hello world map linked above, in chrome on android. Right pic is the same exact are in the native android google map app. In a desktop browser, the JS imagery would look as sharp as in the android app. Click on the pic twice to view it at 100%.

    image1: https://preview.redd.it/y4wlsuabl3w61.jpg?width=2200&format=pjpg&auto=webp&de881c50
    image2: https://preview.redd.it/oi596e0ll3w61.jpg?width=2200&format=pjpg&auto=webp&a10bb9dd

    Now I don't know if that's how mobile JS maps should look like or if there is a problem with my phone. Two things I've tried that solved the problem but induced other issues: Add `zoom:0.5;` to the div of the map, or change Smallest width from 392dpi to say 800dpi in Developer options on the phone.

    It somehow feels like on mobile the browser zooms in on the map. In desktop chrome, if I set the browser zoom to 150% I get the same sort of ugly pixelated map.
    04-29-2021 06:43 AM
  2. B. Diddy's Avatar
    I moved this to the Software Development forum for more specific traffic.
    cpper likes this.
    04-29-2021 12:00 PM

Similar Threads

  1. How do I choose which file manager app to use on my LG Stylo 6?
    By DotLGphn in forum General Help and How To
    Replies: 10
    Last Post: 05-08-2021, 12:19 PM
  2. I can’t turn it on
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 04-29-2021, 12:10 PM
  3. How to disable Google Assistant from listening on locked screen
    By shobuddy in forum Samsung Galaxy S21 & S21+ & S21 Ultra
    Replies: 7
    Last Post: 04-29-2021, 10:18 AM
  4. How do I remove my Conquest app on this LG phone
    By Android Central Question in forum Ask a Question
    Replies: 3
    Last Post: 04-28-2021, 09:35 PM
  5. Strange loss of wifi problems, not just on my Note 10
    By PAC757 in forum Samsung Galaxy Note 10 & Note 10+ (2019)
    Replies: 1
    Last Post: 04-28-2021, 09:23 PM