cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
seadude
Memorable Member
Memorable Member

Azure Maps PCS Component Offset Issue

Hello,

I inherited an interactive map component for canvas apps that has an issue. The component is based on the Azure Maps SDK Code Sample here. I'm not an experienced programmer, so I'm unsure how to fix the component. If someone could please advise, that would be awesome.

Issue:

- When a pin is dropped on the map, it is offset from the cursor. It should be directly under the cursor.

- Same issue when a polygon is drawn or a circle/square is originated

- The offset changes when the browser window size changes

Complete writeup here on Stack Overflow.

Example: I'll click the "a" in "Seattle" with the browser window at different sizes. Note the offset changes.

offsetIssue4.gif

13 REPLIES 13
seadude
Memorable Member
Memorable Member

Nice. Ok, I'll try that out now and report back!

seadude
Memorable Member
Memorable Member

@jopursledo I need any of the options on the left?

image.png

I haven't gone through the process in a while, but I think you need to grab these workloads:

Web development build tools

Node.js build tools

.NET Core build tools

 

See if that works for you.

 

seadude
Memorable Member
Memorable Member

I opted for steps 1-5 here: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/get-powerapps-cli to get tooled up.

Now studying the folder structure so I can clone the repo and open the existin PCF accordingly.

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.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (39,422)