jariarkko / psgeo

Activity location library
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

On phones, the list of topo maps gets quite long, and wraps the line #334

Open jariarkko opened 1 year ago

jariarkko commented 1 year ago

Any chance of shortening the names on phone UI?

jariarkko commented 1 year ago

This is particularly bad if the meta content attribute is included.

jariarkko commented 1 year ago

(But may be configuration related.)

ralfstrandell commented 1 year ago

Three possibilities:

1) psgeoDomainDefaults.json: "mapTypeControlStyle": "DROPDOWN_MENU",

2) for unnecessary topomaps: psgeoDomainDefaults.json: "show": false, You could, e.g. disable all topographic maps or just leave the Openstreenmaps Opentopo

3) psgeolang.js contains all the map names. On phones the shorter name is used, but this requires that your web page contains this very important meta tag: <meta name="viewport" content="width=device-width, initial-scale=1.0">

ralfstrandell commented 1 year ago
  1. One might also prefer "mapTypeControlStyle": "DEFAULT", because it shows the maps in a row on a large screen/window, and as a drop down menu on small.