View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10589 | Bug reports | Plugins | public | 2016-02-25 16:01 | 2016-05-03 11:22 |
Reporter | jlpoole | Assigned To | tpartner | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Summary | 10589: OSM - Aerial View Limited To Specific Zoom Level 10 | ||||
Description | When using the Open Street Map ("OSM") widget, there appears at the top right an icon which lets the user select three modes: a) Street Map, b) Aerial Imagery, and c) Imagery with Streets. If I set the default zoom level to 17 for a map of Napa, California, the street map appears. If in zoom level 17 (or really any zoom higher than 10) I select Aerial Imagery, the map goes to grey. If I then select the minus sign, the map zooms out to level 10 and then the zoom buttons have the plus "+" character greyed out. I'm guessing the code then recognizes that zoom level 10 is the maximum zoom when display the images for "Aerial" -- using a different tile server. I'm also guessing that the image layers are limited zoom resolution 10. An unsophisticated end user seeing the choices available to him/her could select the Aerial Imagery and only see grey at zoom levels higher than 10 and then conclude that the tool is broken. Ideally, the Aerial feature should not be available at a higher level, or there should be a warning that the higher zoom level for that particular tile server is not supported. | ||||
Steps To Reproduce | create an short text question using the OSM map provider, set the zoom level higher than 10 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 88f410ed998361dfe63fbced8ec | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox 44.0.2 | ||||
Database type & version | PostgreSQL 9.4.5-r2 | ||||
Server OS (if known) | Gentoo Linux 4.1.12-gentoo | ||||
Webserver software & version (if known) | Apache 2.2.31 | ||||
PHP Version | 5.6.18 | ||||
Tony, can you please have a look at this? |
|
Carsten, I can find no way of determining a maxZoom level for a layer in a given world location. The tile images are inserted regardless of zoom level, just sometimes they are simply the no-image icon which, as in GMaps, indicates that there is no image for that resolution. So, I think we have two choices here... 1) We allow zooming in the Aerial Imagery layer up to 19 - the same level as the Street map (for some reason it is currently restricted to 10). In this case, depending on where in the world you are, at zoom levels somewhere between 12 and 19 when switching to Aerial or Hybrid you will see the no-image icon and the zoom control will behave normally. I believe that this is how Leaflet intended it to behave and is what I recommend. 2) On switching to Aerial or Hybrid views we can force the map to zoom level 11 which should show actual aerial image tiles for most of the world. Thoughts? |
|
I would prefer option 2 - can you make the change, please? |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=18858 |
|
Version 2.50 Build 160503 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-25 16:01 | jlpoole | New Issue | |
2016-02-25 16:01 | jlpoole | File Added: limesurvey_survey_984767.lss | |
2016-02-26 13:31 | c_schmitz | Assigned To | => c_schmitz |
2016-02-26 13:31 | c_schmitz | Status | new => assigned |
2016-02-26 13:52 | c_schmitz | Assigned To | c_schmitz => tpartner |
2016-02-26 13:53 | c_schmitz | Note Added: 35739 | |
2016-02-26 13:53 | c_schmitz | Severity | feature => minor |
2016-02-26 13:53 | c_schmitz | Note Edited: 35739 | |
2016-03-02 22:29 | tpartner | Assigned To | tpartner => c_schmitz |
2016-03-02 22:29 | tpartner | Note Added: 35853 | |
2016-03-02 22:30 | tpartner | Status | assigned => feedback |
2016-04-04 16:31 | c_schmitz | Note Added: 36986 | |
2016-04-04 16:31 | c_schmitz | Assigned To | c_schmitz => tpartner |
2016-04-04 16:31 | c_schmitz | Status | feedback => assigned |
2016-05-02 18:48 | tpartner | Changeset attached | => LimeSurvey master b5ad3fad |
2016-05-02 18:48 | tpartner | Note Added: 38128 | |
2016-05-02 18:48 | tpartner | Resolution | open => fixed |
2016-05-02 18:50 | tpartner | Status | assigned => resolved |
2016-05-03 11:22 | c_schmitz | Note Added: 38137 | |
2016-05-03 11:22 | c_schmitz | Status | resolved => closed |