var newHeight = dojo.contentBox(dojo.byId("spatial")).h -  25; dojo.style( dojo.byId("mapHolder"), "height", newHeight+ "px"); if (this.isVisible) google.maps.event.trigger(this.map, "resize"); } 4. Create the map and place it to the DOM: drawGoogleMap: function() { var options = { zoom: 6, /* Prague */ center: new google.maps.LatLng(50.08182, 14.440734), mapTypeId: google.maps.MapTypeId.ROADMAP }; this.map = new google.maps.Map(dojo.byId("mapHolder"),  options); } collection=Current collection ID output=application/json facet={"namespace":"keyword","id":Facet ID,"depth":3,"count":number  of documents} query=Current query 14.3.4 Displaying documents on the map Getting the data Now, when we have the map in place, we want to display the documents on the  map as markers in the respective location. To do that, we need to get the data  first, parse them, and then place them on the map.  The right way to get the data of documents, currently matching the Content  Analytics query, is to use the Search REST API. We need the following method: /api/v10/search/facet with parameters: As you can see, we need to get some information from the Content Analytics  environment before we can call this API. Namely, we need to know the ID of the  currently selected collection, ID of a facet with location information (metadata),  546  IBM Watson Content Analytics: Discovering Actionable Insight from Your Content