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

Large circle disappears when center is outside of visible map area #3431

Closed
princeofnaxos opened this issue Oct 21, 2016 · 3 comments
Closed

Comments

@princeofnaxos
Copy link

mapbox-gl-js version: 0.26.0

Steps to Trigger Behavior

  1. create a circle layer with a large radius
  2. move the map so that the center of the circle is outside of the visible area
  3. keep moving a bit more (probably to the edge of the tiles)

Expected Behavior

The circle stays visible.

Actual Behavior

The circle suddenly disappears.

@mourner
Copy link
Member

mourner commented Oct 21, 2016

Can you provide a minimal JSFiddle test case for this?

@lucaswoj
Copy link
Contributor

This is an unfortunate limitation of how vector tiles work and something we cannot fix in the near future. I do not recommend using a circle radius greater than the width of a tile.

@princeofnaxos
Copy link
Author

Yep, see https://jsfiddle.net/zhgp4vqf/

Just move the center of the circle away in any direction.

With best regards,

Edwin Boersma

Fasterminds
/A Marketing Company./
www.fasterminds.com http://www.fasterminds.com

Phone: +46 (709) 726431

Webpage: www.fasterminds.com http://www.fasterminds.com
Email: [email protected] mailto:[email protected]

This communication is intended for the person or entity to which it is
addressed and may be confidential. Any review, re-transmission or
dissemination is prohibited. If you received this transmission in error,
please contact the sender then delete this message.

This email has been virus checked by the latest virus checking software,
however, we advise you to carry out your own virus check as we cannot
accept liability for any damage sustained as a result of any software
viruses.

On 21/10/2016 15:54, Vladimir Agafonkin wrote:

Can you provide a minimal JSFiddle test case for this?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#3431 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD51dPxcYMTKj7q0NNdcXfVUh21WiMQsks5q2MQhgaJpZM4KdMQe.

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