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

Shape Layer Must Be Vertical #45

Closed
jmertz opened this issue Feb 27, 2019 · 4 comments
Closed

Shape Layer Must Be Vertical #45

jmertz opened this issue Feb 27, 2019 · 4 comments

Comments

@jmertz
Copy link

jmertz commented Feb 27, 2019

Very helpful plugin, thank you! For certain aspect ratios of shape layers however, the plugin seems to generate the following error: "There was a problem. Please check the address settings." The fix appears to be to use a different size of shape layer, and then rescale the shape after the map has been generated.

@eddiesigner
Copy link
Owner

Hi! I wasn't able to reproduce it :/

Can you tell me please what aspect ratio you was using? or maybe the size of the layer.

Also, were you using Google Maps or Mapbox? That message should indicates another kind of error.

@sahilk
Copy link

sahilk commented Jul 11, 2019

Facing the same issue with Mapbox. Layer size is 2160*756. Works fine with Gmaps.

@eddiesigner
Copy link
Owner

Sorry fo the late response but I was on vacation. Sadly this is a restriction of Mapbox, the max size you can use is 1280 pixels (https://docs.mapbox.com/api/maps/#retrieve-a-static-map-from-a-style).

In the latest version I changed the way to display the error and now you can see a more descriptive message.

As a workaround you can set the width to 1280 and then manually make the layer bigger. I know is not perfect but could be a solution.

@eddiesigner
Copy link
Owner

I will close this issue for now, please feel free to reopen it if you think is necessary.

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

3 participants