![]() We also have to check which color is declared, and convert it accordingly (RGB, RGBA, or hex values). It won’t be necessary to change the opacity of lines and fills, but the fill-extrusions for the buildings must be fully opaque, or the map will look strange at higher zoom levels. Once the map is loaded, you can iterate over the style layers to get the colors. You can learn more by watching this video. The last element in this article to create a custom mapping experience is adding some live weather info. This information can be useful to drivers in order to plan routes more carefully and safely and could also be useful to end-users planning activities. Using the OpenWeatherMap API, you can get live weather maps and textual descriptions for a location and then overlay OpenWeatherMap’s maps onto TomTom’s maps. Head on over to to register for your free API key and get building today! This article goes over how to add live weather, step by step: Adding OpenWeatherMap’s Current Weather to TomTom Maps or our video tutorial below: NEXT STEPSĪnd there you have it! Five ways to customize your map to suit your or your end-users’ needs. Lastly, we’d love to see your customized maps! Feel free to share your project in our Developer Forum or reach out if you have any questions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |