Friday, February 3, 2023
HomeC#Azure Maps as a Supply to Syncfusion Maps

Azure Maps as a Supply to Syncfusion Maps


Azure Maps is a map supplier powered by Microsoft, providing geospatial capabilities to builders who require them. When the Syncfusion Maps element connects to the Azure Maps tile URL, the Maps element hundreds a group of tile photographs, arranges them, and shows them as satellite tv for pc, highway view, geographical, and different varieties of maps. Azure Maps is operational for internet and cell purposes.

The Syncfusion Maps element is on the market for:

This weblog explains the options that may be achieved when utilizing Azure Maps because the supply for Syncfusion Maps.

Loading Azure Maps

To get began with the Syncfusion Maps management, check with the getting began documentation.

We are able to render Azure Maps by assigning the UrlTemplate property with the suitable tile URL offered by the Azure Maps supplier. The UrlTemplate API is on the market on all platforms beforehand listed to connect with Azure Maps. Within the meantime, we want a subscription key to view and work together with Azure Maps.

For instance, an Azure Maps tile URL will seem like the next.

https://atlas.microsoft.com/map/imagery/png?subscription-key=Your-Key &api-version=1.0&type=satellite tv for pc&zoom=stage&x=tileX&y=tileY

Layers

We are able to render the Azure Maps as the primary layer within the Syncfusion Maps element through tile URL. On high of the primary layer, n variety of extra layers might be added, leading to a multilayer sample. Sublayers added on high of the primary layer ought to be form recordsdata, i.e., in GeoJSON-like format.

For instance, we will add a sublayer over the primary layer to view a rustic’s cities, boundaries, roads, mountains, rivers, and coastlines. Moreover, we will add map components, akin to markers, bubbles, and coloration mapping, solely to a sublayer.

African continent highlighted using layers
African continent highlighted utilizing layers

Markers

The marker is a visible illustration that helps pinpoint a selected coordinate (location). A marker makes use of a typical form akin to a circle, rectangle, line, or balloon. For a greater person expertise, the marker may also show as a customized picture somewhat than predefined shapes.

When many markers overlap, the markers are grouped in a way often known as marker clustering. The quantity above the cluster signifies what number of overlapped markers it comprises. If we carry out zoom-in motion on any cluster location, the quantity on the cluster will lower, and the person markers will unfold out on the map. With zoom out, the markers cluster once more.

Navigation strains

Navigation strains present the trail between two or extra factors, akin to flight or sea routes, and routes from the present location to the vacation spot location.

Navigation lines in web maps
Navigation strains in internet maps

Annotations

Annotations assist us to attract extra consideration to particular traits of sure areas on the map and supply highlighting details about them. In a nutshell, annotations are particular overlays of knowledge that inform the person with out overcrowding the map. Together with annotations in maps is turning into more and more well-liked.

We are able to symbolize annotations in textual content or picture codecs, or a mixture of each. Additionally, we will add any annotations to the map utilizing x- and y-coordinates.

Annotations in web maps
Annotations in internet maps

Zooming and Panning

Zooming permits you to see the map totally and examine particular areas. Panning allows you to transfer on the zoomed map to view totally different areas. Use the zoom-out and reset choices to return the map to its unique place. Zooming choices embrace a zooming toolbar, single-click zoom, double-click zoom, mouse wheel zoom, choice 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 visible assortment of the map symbols adopted by brief textual content descriptions of what every image represents. There could also be many symbols on a map, and it might be troublesome for the tip person to know each and not using a legend.

Legend in web maps
Legend in internet maps

Tooltip

The tooltip permits you to show textual content info for markers when they’re hovered over or touched.

References

Discuss with the next person information documentation hyperlinks to render and work with Azure Maps:

Conclusion

Thanks for studying! This weblog explores learn how to combine Azure Maps help into Syncfusion Maps. Check out these options and elegantly visualize the world with Syncfusion Maps controls. You may go away your opinions within the feedback part beneath.

When you have questions, contact us by means of our help boardshelp portal, or suggestions portal. We’re at all times completely happy to help you!

Associated blogs

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments