Commit Graph

10 Commits

Author SHA1 Message Date
Andreas Hocevar
08af207724 Add decluttering for images and text 2017-10-31 11:33:48 +01:00
Andreas Hocevar
9898112709 Add sans-serif font fallback 2017-09-12 09:08:54 +02:00
Andreas Hocevar
ad5ce25559 Use the placement: 'line' property in the street-labels example
This makes the code of the example much simpler.
2017-09-11 16:54:27 +02:00
Andreas Hocevar
0f29ea4f0e Use static GeoJSON instead of Overpass query for faster loading 2017-08-16 16:42:59 -04:00
Andreas Hocevar
1795a86f7f Fix a typo in the street-labels example 2017-08-07 12:01:42 -06:00
Andreas Hocevar
35f22fb52c Only create custom style for text we actually render 2017-08-05 00:15:58 +02:00
Andreas Hocevar
617151c8ff Simplify the renderer function API 2017-08-05 00:15:58 +02:00
Andreas Hocevar
9fdce0f2b1 Only use API functions in example 2017-07-30 22:51:56 +02:00
Andreas Hocevar
68f6b61217 Address review comments 2017-07-30 00:32:51 +02:00
Andreas Hocevar
c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00