web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF with Google Maps J...
Power Apps
Unanswered

PCF with Google Maps JS API doesn't work in Canvas App

(0) ShareShare
ReportReport
Posted on by

Hi all!

 

I'm building a pcf control to display Google Map with three location markers A, B, C and trace best route to go from A to C with B as a waypoint, also applies some custom style to markers and route lines. I'm using Google Maps JavaScript API and React. The control works perfectly in the test harness and in model driven apps, but when try to use it in canvas app, it doesn't show right the map, neither the location markers, nor the route. I let some screenshots of the control. 

 

I found this post with maybe some related problem but with ArcGIS maps: Power App Component Framework with ArcGis Embed - Power Platform Community (microsoft.com)

 

I think, can be a posible conflict with some native JS library in canvas app.

 

Maybe someone has faced this issue before?

 

PCF Test Environment:

hgmg_0-1719350528804.png

 

Test Canvas App:

hgmg_1-1719350561923.png

 

JS console logs:

hgmg_0-1719350822478.png

 

Thanks!

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard