Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default CBMTILE layer.zoomTo() goes to wrong location #974

Open
prushforth opened this issue Aug 20, 2024 · 0 comments
Open

Default CBMTILE layer.zoomTo() goes to wrong location #974

prushforth opened this issue Aug 20, 2024 · 0 comments
Labels
Milestone

Comments

@prushforth
Copy link
Member

prushforth commented Aug 20, 2024

Steps to reproduce:

visit the sandbox and paste in the following code

<mapml-viewer projection="CBMTILE" zoom="8" lat="48.840422" lon="-101.219978" controls>
      <layer- label="CBMT" checked>
        <map-extent units="CBMTILE"  checked="checked" hidden="hidden">
          <map-input name="z" type="zoom" min="6" max="8"></map-input>
          <map-input name="y" type="location" units="tilematrix" axis="row"></map-input>
          <map-input name="x" type="location" units="tilematrix" axis="column"></map-input>
          <map-link rel="tile" tref="https://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT3978/MapServer/tile/{z}/{y}/{x}?m4h=t" ></map-link>
        </map-extent>
      </layer->
    </mapml-viewer>

In the layer control, select the layer and zoom to it.

All tiles disappear because the data is far away

Expected behavior - we think the map should now be centered on the default extent of the CBMTILE projection.

@prushforth prushforth added the bug label Aug 20, 2024
@prushforth prushforth added this to the Autumn 2024 milestone Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant