arnaudleclerc / ng-azure-maps

Angular wrapper around azure maps
MIT License
16 stars 14 forks source link

How to display a text into a buble layout ? #58

Open draco961 opened 2 years ago

draco961 commented 2 years ago

How to display a text into a buble layout ?

I have tried the "before" property but id doesn't change anything

rbrundritt commented 2 years ago

Azure Maps separates data sources from rendering layers. This allows you to combine multiple rendering layers with a single data source. As such, to display text labels above a bubble layer, you would use a second Symbol layer to render the text. Here is a simple example when using Azure Maps directly: https://samples.azuremaps.com/?sample=data-driven-bubble-layer-styling

draco961 commented 2 years ago

This doesn't work with this package, the text layer is always behind the bubble

jonlighthill commented 2 years ago

Might be related to an issue I just created. https://github.com/arnaudleclerc/ng-azure-maps/issues/61