Azure Maps as a Source to Syncfusion Maps | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (175).NET Core  (29).NET MAUI  (208)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (220)BoldSign  (14)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (66)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (919)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (36)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (150)Chart  (132)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (633)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (40)Extensions  (22)File Manager  (7)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (508)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (11)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (597)What's new  (333)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Azure Maps as a Source to Syncfusion Maps

Azure Maps as a Source to Syncfusion Maps

Azure Maps is a map provider powered by Microsoft, offering geospatial capabilities to developers who require them. When the Syncfusion Maps component connects to the Azure Maps tile URL, the Maps component loads a collection of tile images, arranges them, and displays them as satellite, road view, geographical, and other types of maps. Azure Maps is operational for web and mobile applications.

The Syncfusion Maps component is available for:

This blog explains the features that can be achieved when using Azure Maps as the source for Syncfusion Maps.

Loading Azure Maps

To get started with the Syncfusion Maps control, refer to the getting started documentation.

We can render Azure Maps by assigning the UrlTemplate property with the appropriate tile URL provided by the Azure Maps provider. The UrlTemplate API is available on all platforms previously listed to connect to Azure Maps. In the meantime, we need a subscription key to view and interact with Azure Maps.

For example, an Azure Maps tile URL will look like the following.

https://atlas.microsoft.com/map/imagery/png?subscription-key=Your-Key &api-version=1.0&style=satellite&zoom=level&x=tileX&y=tileY

Layers

We can render the Azure Maps as the main layer in the Syncfusion Maps component via tile URL. On top of the main layer, n number of additional layers can be added, resulting in a multilayer pattern. Sublayers added on top of the main layer should be shape files, i.e., in GeoJSON-like format.

For example, we can add a sublayer over the main layer to view a country’s cities, boundaries, roads, mountains, rivers, and coastlines. Additionally, we can add map elements, such as markers, bubbles, and color mapping, only to a sublayer.

African continent highlighted using layers
African continent highlighted using layers

Markers

The marker is a visual representation that helps pinpoint a specific coordinate (location). A marker uses a standard shape such as a circle, rectangle, line, or balloon. For a better user experience, the marker can also display as a custom image rather than predefined shapes.

When many markers overlap, the markers are grouped in a technique known as marker clustering. The number above the cluster indicates how many overlapped markers it contains. If we perform zoom-in action on any cluster location, the number on the cluster will decrease, and the individual markers will spread out on the map. With zoom out, the markers cluster again.

Navigation lines

Navigation lines show the path between two or more points, such as flight or sea routes, and routes from the current location to the destination location.

Navigation lines in web maps

Navigation lines in web maps

Annotations

Annotations help us to draw more attention to specific characteristics of certain locations on the map and provide highlighting information about them. In a nutshell, annotations are specific overlays of information that inform the user without overcrowding the map. Including annotations in maps is becoming increasingly popular.

We can represent annotations in text or image formats, or a combination of both. Also, we can add any annotations to the map using x- and y-coordinates.

Annotations in web maps

Annotations in web maps

Zooming and Panning

Zooming allows you to see the map entirely and inspect specific regions. Panning enables you to move on the zoomed map to view different areas. Use the zoom-out and reset options to return the map to its original position. Zooming options include a zooming toolbar, single-click zoom, double-click zoom, mouse wheel zoom, selection zoom, and pinch zoom.

South America map zoomed out
South America map zoomed out
South America map zoomed in
South America map zoomed in

Legend

The legend is a visual collection of the map symbols followed by short text descriptions of what each symbol represents. There may be many symbols on a map, and it may be difficult for the end user to understand each one without a legend.

Legend in web maps
Legend in web maps

Tooltip

The tooltip allows you to display text information for markers when they are hovered over or touched.

References

Refer to the following user guide documentation links to render and work with Azure Maps:

Conclusion

Thanks for reading! This blog explores how to integrate Azure Maps support into Syncfusion Maps. Try out these features and elegantly visualize the world with Syncfusion Maps controls. You can leave your opinions in the comments section below.

If you have questions, contact us through our support forumssupport portal, or feedback portal. We are always happy to assist you!

Related blogs

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed