Skip to content
This repository was archived by the owner on Jun 16, 2019. It is now read-only.

Display marker image full width despite label offset#104

Open
jobwat wants to merge 1 commit into
googlearchive:gh-pagesfrom
jobwat:fix-offsetted-marker-label-display
Open

Display marker image full width despite label offset#104
jobwat wants to merge 1 commit into
googlearchive:gh-pagesfrom
jobwat:fix-offsetted-marker-label-display

Conversation

@jobwat
Copy link
Copy Markdown

@jobwat jobwat commented Oct 10, 2016

Why this code could be used for originally...?

When trying to change the label position:

    styles = [{
      ...
      anchor: [-24,32],
      ...
    },{

the marker image was getting mangled like so:
screen shot 2016-10-10 at 11 31 31 am

Once removed, the marker image width is kept fully, the image stay intact despite any offset of the label:
screen shot 2016-10-10 at 11 32 21 am

I don't understand why this code could be used for originally
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant