Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Feature Request - Expose/allow Shadow on Text #3

Open
crh3675 opened this issue Sep 7, 2018 · 1 comment
Open

Feature Request - Expose/allow Shadow on Text #3

crh3675 opened this issue Sep 7, 2018 · 1 comment

Comments

@crh3675
Copy link

crh3675 commented Sep 7, 2018

As a feature request, it would be great to expose or allow adjustments to these properties for the text:

  •   context.shadowOffsetX
    
  •   context.shadowOffsetY
    
  •   context.shadowColor 
    
  •  context.shadowBlur
    
rendrom pushed a commit to rendrom/Leaflet.Graticule that referenced this issue Oct 16, 2019
rendrom pushed a commit to rendrom/Leaflet.Graticule that referenced this issue Oct 16, 2019
@mcbba
Copy link

mcbba commented Mar 8, 2021

As a feature request, it would be great to expose or allow adjustments to these properties for the text:

  •   context.shadowOffsetX
    
  •   context.shadowOffsetY
    
  •   context.shadowColor 
    
  •  context.shadowBlur
    

I'm poking around inside the source code on this and have found where to change font characteristics (it wasn't hard - line 12), but getting shadow eludes me. I'm putting this over multiple different base layer options so just changing the font color isn't good enough. Did you ever get this figured?

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

No branches or pull requests

2 participants