Skip to main content
1-Visitor
September 21, 2017
Question

google map not load in View Mashup

  • September 21, 2017
  • 12 replies
  • 6519 views

I use 30 days hosted trial, google map widget could not load normally in View Mashup, Error Message like "Oops! Something went worng... See the JavaScript  console for technical details.".  How could I get this right?

12 replies

5-Regular Member
September 21, 2017

Hi Sandra,  have you check the browser's developer console for more detail or may be the ApplicationLog from ThingWorx? Was this working when you first created the instance?

14-Alexandrite
September 21, 2017

Sandra Chen​,

Could you access to Google map seperately from your browser?

For some Chinese customers, it may not be accessible for Google Map.

Baidu map will be used instead in such case.

Br,

Anna

schen-711-VisitorAuthor
1-Visitor
September 22, 2017

Hi Anna An, I could access to Google map from browser.

schen-711-VisitorAuthor
1-Visitor
September 22, 2017

Hi Sushant, Thank you for your suggestion. I have check application log, but it seems no error message about this.

5-Regular Member
September 22, 2017

Did you also check the Developer's console?

1-Visitor
September 22, 2017

Sandra, where do you find the google map widget when you create your mashup?

schen-711-VisitorAuthor
1-Visitor
September 22, 2017

Hi Xinyan, I get google map widget from mashup -> widgets-> category (filter)-> key in google map, to get goole map widget.

schen-711-VisitorAuthor
1-Visitor
September 22, 2017

Hi Sushant, show log for view mashup is as below:

google_map_error.jpg

5-Regular Member
September 22, 2017

Sorry if i was not clear enough in my last response, I meant the web browser's own developer console for e.g. if you'd press F12 in chrome you should be able to view this console and then you will have to refresh the page once. Please check if there are any errors/warnings there.

12-Amethyst
September 22, 2017

You may want to take a look at this thread Google Maps no longer displaying (Error - 'Oops! Something went wrong')

It may be missing Google API Key in metadata.xml file.

schen-711-VisitorAuthor
1-Visitor
September 25, 2017

Hi Sushant & Varathan, thank you very much, from the browser developer console, it seems the Google API key problem, I will find how to put Google API key in metadata.xml.

schen-711-VisitorAuthor
1-Visitor
September 25, 2017

How could I extract metadata.xml and modify it ? Extension just could be imported or viewed from composer.