Skip to main content
1-Visitor
November 15, 2018
Solved

google map widget not showing map in mashup.

  • November 15, 2018
  • 4 replies
  • 2381 views

I installed a google map widget in my thingworx local instance which is running on my pc. I add google map widget in mashup but when i  try to view mashup it doesn't show any map. I tried to reinstall widget but it doesn't help me. please help me with this issue. I attached photos of my browser console log and thingworx console logScreenshot (86).pngScreenshot (87).pngScreenshot (88).png.

Best answer by mnarang

Thank you for sharing the file ,It is working fine for me .The thing for which it is complaining about it missing API key .Which is a valid point as according to new google policy we need to add an API key to use google map .

See debug screenshot from the same extension which you shared .

 

To add the api key and proceed further here is piece of information - https://www.ptc.com/en/support/article?n=CS188314

 

If you are still getting the same error which you shared ,it might be because of other faulty extension as well .

 

Meanwhile I am investigating more ,will update you in case I reproduce the same error .

 

Thanks,

Mukul Narang

4 replies

5-Regular Member
November 15, 2018

Hello,

 

Can you share the extension which you imported for google map ? Seems like there is some problem with the extension code itself .

 

Thanks,

Mukul Narang 

1-Visitor
November 15, 2018

sure, take look at attached file

mnarang5-Regular MemberAnswer
5-Regular Member
November 15, 2018

Thank you for sharing the file ,It is working fine for me .The thing for which it is complaining about it missing API key .Which is a valid point as according to new google policy we need to add an API key to use google map .

See debug screenshot from the same extension which you shared .

 

To add the api key and proceed further here is piece of information - https://www.ptc.com/en/support/article?n=CS188314

 

If you are still getting the same error which you shared ,it might be because of other faulty extension as well .

 

Meanwhile I am investigating more ,will update you in case I reproduce the same error .

 

Thanks,

Mukul Narang