Skip to main content
Nov 15, 2018 8:09 AM UTC
Solved

google map widget not showing map in mashup.

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.

mnarangAnswer
Nov 15, 2018 3:02 PM UTC

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

Nov 15, 2018 9:59 AM UTC

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 

Nov 15, 2018 11:05 AM UTC

sure, take look at attached file

mnarangAnswer
Nov 15, 2018 3:02 PM UTC

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