cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PatilChetan
Resolver I
Resolver I

Geospatial Features-Customize Pin Icons

Hello,

 

Can we customize the pin icons on map in canvas app? Can we show 'Office Building' icon instead of default marker icon?

Screenshot (24).png

 

Can anyone point me in the right direction?

 

Thanks 🙂

2 REPLIES 2
v-jefferni
Community Support
Community Support

Hi @PatilChetan ,

 

Would you like to use custom image templates?

 

If so, please refer to below docs:

https://docs.microsoft.com/en-us/azure/azure-maps/how-to-use-image-templates-web-sdk#list-of-image-t...

https://docs.microsoft.com/en-us/azure/azure-maps/map-add-custom-html

 

And how to use image template in Canvas App please refer to below video from Shane Young at about 21: 30:

https://www.youtube.com/watch?v=pqr28YCxvNs

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Hi @v-jefferni,

Thanks for reply!

Yes, I would like to use custom image templates.

I checked the links shared by you. But, didn't get how to use the HTMLMarker in Canvas Apps.

I tried as shown in the video by Shane Young, but the custom icon is not reflecting on the map. Please check below screenshots.

Screenshot (27).png

 

Correct me if anything wrong.

Thank you!

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (32,201)