fgpv-vpgf / fgpv-vpgf

The Reusable Accessible Mapping Platform (RAMP), also known as the Federal Geospatial Platform Visualiser (FGPV), is a Javascript based web mapping platform that provides a reusable, responsive and WCAG 2.0 "AA" compliant common viewer platform for the Government of Canada.
https://fgpv-vpgf.github.io/fgpv-vpgf/master/docs/#/
Other
45 stars 48 forks source link

User added Scale Dependency layer - All zoom levels were out of scale after zooming from Detail panel #1454

Closed IsabellaPan closed 7 years ago

IsabellaPan commented 7 years ago

Tested build: http://fgpv.cloudapp.net/demo/v1.4.0-8/prod/samples/index-fgp-en.html?keys=JOSM,Airports,NPRI_CO,Railways,mb_colour User added scale dependency layer: http://maps-cartes.ec.gc.ca/arcgis/rest/services/CESI/CESI_Air_Ozone/MapServer

This issue happened with Mercator basemaps only.

james-rae commented 7 years ago

Zoom is going in too far; its so close that all layers are out of scale.

Notice that using the Zoom button in the grid selects a more appropriate zoom level. First thing to check is difference between code being run in Grid Zoom and Feature Detail Pane zoom.

IsabellaPan commented 7 years ago

However, IE11 has an opposite behaviour - no matter how far user zooming in or zooming out, all zoom levels displayed as visible with eye icons, even there isn't any point shown on the map. image

Does anyone suggest to raise a separate issue for IE11?

jolevesq commented 7 years ago

Should the zoom in function goes to the maximum zoom available for a layer if a scale dependency is detected?

IsabellaPan commented 7 years ago

Feb 8 2017 Verified with build v1.5.0-rc3.