
Announcements
Hello Experts,
We have implemented google maps PCF Control using React to draw the polygons. In this markers are displayed in the browser and clickable and able to draw the polygons. But the same thing comes to mobile, markers are displayed, and when am clicking the marker or draw the polygons is not working. I tried with so many forums and changes a lot of code and debug but I couldn't find the solution. It would be great if you can provide the solution for the mobile version and below is the code snippet.
Thanks
-Sri
I don't know this GoogleMap react component specifically, but I'm guessing your problem is the difference between an "onClick" event and an "onTouch" event. The onTouch event on a mobile device is not the same thing as onClick and if you want to support both form factors, you will need to specify logic for both event types.