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

How to Adjust the Size of the src Image in ol.legend.Image #1103

Open
ElenaWu171 opened this issue Sep 10, 2024 · 1 comment
Open

How to Adjust the Size of the src Image in ol.legend.Image #1103

ElenaWu171 opened this issue Sep 10, 2024 · 1 comment

Comments

@ElenaWu171
Copy link

  legend.addItem(new ol.legend.Image({
    title: 'Geology',
    src: 'http://geoservices.brgm.fr/geologie?language=fre&version=1.3.0&service=WMS&request=GetLegendGraphic&sld_version=1.1.0&layer=GEOSERVICES_GEOLOGIE&format=image/png&STYLE=default'
  }))

image

@Viglino
Copy link
Owner

Viglino commented Sep 10, 2024

No ajustement yet 😒

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