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

Inconsistant behaviour with zoomMultiplier #27

Open
andrewphilipsmith opened this issue Mar 5, 2020 · 2 comments
Open

Inconsistant behaviour with zoomMultiplier #27

andrewphilipsmith opened this issue Mar 5, 2020 · 2 comments

Comments

@andrewphilipsmith
Copy link
Member

@dconnaghanx please add details

@dconnaghanx
Copy link

dconnaghanx commented Mar 5, 2020

I have run through the automation using ArcMap and everything worked fine. However, when I run using cmd the admn_ad1_py data is not loaded into the ToC. I then moved the zoomMultiplier element (which was applied to admn_ad1_py data) to be against the admn_ad1_ln data and the line work isn;t added but the polygon one is.

json when line file is selected as zoomMagnifier:
{
"mapnumber": "MA002",
"category": "Reference",
"product": "Country Overview with Admin 1 Boundaries",
"export": true,
"layers": [
{ "name": "mainmap-stle-stl-pt-s0-allmaps" },
{ "name": "mainmap-carto-fea-py-s0-allmaps" },
{ "name": "mainmap-elev-cst-ln-s0-allmaps" },
{ "name": "mainmap-admn-adx-ln-s0-reference" },
{ "name": "mainmap-admn-ad1-ln-s0-reference", "zoomMultiplier": 0.1 },
{ "name": "mainmap-admn-ad1-py-s0-reference" },
{ "name": "mainmap-admn-adx-py-s0-reference" },
{ "name": "locationmap-admn-adx-ln-s0-locationmaps"},
{ "name": "locationmap-admn-ad0-py-s0-locationmaps", "zoomMultiplier": 1 },
{ "name": "locationmap-elev-cst-ln-s0-locationmaps" },
{ "name": "locationmap-admn-adx-py-s0-locationmaps"}
],
"summary": "Country overview with detail of Admin 1 boundaries and major cities"
},
MA002-v01_country-overview-with-admin-1-boundaries-300dpi_lineiszoomed

json when polygon file is selected as zoomMagnifier:
{
"mapnumber": "MA002",
"category": "Reference",
"product": "Country Overview with Admin 1 Boundaries",
"export": true,
"layers": [
{ "name": "mainmap-stle-stl-pt-s0-allmaps" },
{ "name": "mainmap-carto-fea-py-s0-allmaps" },
{ "name": "mainmap-elev-cst-ln-s0-allmaps" },
{ "name": "mainmap-admn-adx-ln-s0-reference" },
{ "name": "mainmap-admn-ad1-ln-s0-reference" },
{ "name": "mainmap-admn-ad1-py-s0-reference", "zoomMultiplier": 0.1 },
{ "name": "mainmap-admn-adx-py-s0-reference" },
{ "name": "locationmap-admn-adx-ln-s0-locationmaps"},
{ "name": "locationmap-admn-ad0-py-s0-locationmaps", "zoomMultiplier": 1 },
{ "name": "locationmap-elev-cst-ln-s0-locationmaps" },
{ "name": "locationmap-admn-adx-py-s0-locationmaps"}
],
"summary": "Country overview with detail of Admin 1 boundaries and major cities"
},

MA002-v01_country-overview-with-admin-1-boundaries-300dpi_polyiszoomed

@andrewphilipsmith
Copy link
Member Author

@dconnaghanx Did you make changes to the layerProperties.json file at the same time as making changes to the mapCookbook.json file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants