LIcon with null size within LMarker slot fails to nullify default size
See original GitHub issueWhen providing an icon without a size within the default slot the icon
property defaults to new Icon.Default()
which has an iconSize
of [12,12]
.
Steps to Reproduce
<l-marker :lat-lng = "[-10, 10]">
<l-icon :icon-size="null" :class-name="`leaflet-marker-icon`">
<div :style="`width: 50px; height: 50px; background-color: #03f;`">Icon</div>
</l-icon>
</l-marker>
Expected Results
No forced sizing on marker.
Actual Results
The internal div will have the correct size, however…
Using DOM inspection tools, observe .leaflet-marker-icon
wrapping this to have a size of 12x12
Browsers Affected
- Chrome
- Firefox
- Edge
- Safari 9
- Safari 8
- IE 11
Versions
- Leaflet: v1.7.1
- Vue: v2.6.14
- Vue2Leaflet: v2.7.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Visualizing Your Data Using R - Andres Karjus
In this case, the first argument is the data (a vector of length one), and the second is 'main', which specifies the main...
Read more >Untitled
Manta ray size maldives, The dark knight batsuit price, Suryamukhi ayurved ... Hnb1-m5-dc24v, Upholstery spray paint hobby lobby, Error page in asp net...
Read more >OEi - River Thames Conditions - Environment Agency - GOV.UK
Nordcore gmbh t-shirt, Ghoshala, Artistic poster ideas, Dimensions of 1 ... Petaluma brian croser, Modwens property, Bh reutte kontakt, Best in slot, ...
Read more >Lex & Lambda: Slots Being Set Manually Reset to Null
According to the document, I think you have to introduce the slots in the response object: callback(null, { "sessionAttributes": event.
Read more >Standard Specifications Road and Bridge Construction
These standard specifications are to be used on contract work awarded by the Colorado Department ... For clarity, aggregate sieve sizes appear in....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please go away stalebot.
Hang-ong
wontfix
on a “stale” issue, entirely inappropriate.