It seems to be implied here and there in your docs and on your website that Google Maps can be used in SfMap ( not having to use javascript to call their api's directly ). I can't, however, find any examples.
Can you provide a small example?
Thanks
Hi Sheldon,
The Syncfusion Blazor Maps component supports various online maps, such as OpenStreetMap, Bing Maps, TomTom, ESRI and MapBox. These maps are render through their tile server URL which provides tile images to render the map in the component. The tile server URL must follow the below format.
https://<domain_name>/maps/basic/{z}/{x}/{y}.png
”${z}” - It represents zoom factor (level).
”${x}” - It indicates tile image x-position (tileX).
”${y}” - It indicates tile image y-position (tileY).
However, to render the Google Maps in the Syncfusion Maps component, their tile server URL must be similar to the link below. The tile server URL must be set in the “UrlTemplate” property in the “MapsLayer” tag to render the online map.
https://mt.google.com/vt/lyrs=m&x=tileX&y=tileY&z=level
We have created a sample to demonstrate the same and it can be found from the below link.
https://blazorplayground.syncfusion.com/LthKjFXCfVPddrpl
Please let us know if you
need any further assistance.
That is perfect. Thank you !
Hi Sheldon,
You're welcome. Please get back to us if you need any further assistance. we will be happy to help you.
Regards,
Jayashree
https://blazorplayground.syncfusion.com/LthKjFXCfVPddrpl this link is not valid. Can you please enable this link.
Hi Dhananjay,
We can run the sample using the provided link. However, we have created a local sample, which can be found at the link below for your reference.
https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlazorSample-712562925
Please
let us know if you need any further assistance.
SfMap and Google Maps both offer great mapping solutions, but they cater to different needs. Google Maps is widely recognized for its comprehensive features and global coverage, while SfMap provides tailored functionalities. For developers and businesses, having 5 star Google reviews can enhance visibility and build trust for apps utilizing these mapping tools.
Hi Alex,
Thank you for your update. We have noted your observation and appreciate your proactive communication.
If you have any further questions or need assistance in the future, please do not hesitate to contact us.
Regards,
Chris