javascript - Google Maps Engine - Display Directions on InfoWindow -


I am very new to Google Maps Dev and need your help. I am using a Google Maps engine to load data through CSV files which automatically helps in geo-address addresses. After creating new layers and populating them on the map, I can create map and layer IDs. . I'm calling on my Maps app (JSV3 API). When I click on the marker and I want to link the directions window to the information window, then the information window pops up, is there a way to do direct service on information window like our normal My code looks like this is on Google Map Search.

  & lt; Script type = "text / javascript" src = "https://maps.googleapis.com/maps/api/js?key=###############" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://maps.googleapis.com/maps/api/js?libraries=visualization&key=##############" & gt; ; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; `` Initialize function () {var mapOptions = {zoom: 5, center: new google.maps.LatLng (42, -99)}; Map = new google.maps.Map (document.getElementById ('map-canvas'), mapOptions); MapsLayer = new google.maps.visualization.MapsEngineLayer ({mapId: '131467379863959', layerKey: 'layer_00001', map: map, suppressInfoWindows: false, clickable: true}); Var mapsLayer2 = new google.maps.visualization.MapsEngineLayer ({mapId: '13146737986395', layerKey: 'layer_00002', the map: Map, SuppressInfoWindows: false, clickable: true});} google.maps.event.addDomListener ( Window, 'load', start); & Lt; / Script & gt;    

If you are using the Maps Engine layer to render your data, information according to setup your layer in Maps engine provides a window you can use a plain old link to the user guide (and bonuses, on mobile it will open in a native app).

In this way a URL can help the infowindow areas of the map "Current Location" (which Maps

) also ::

Map links in this article For more information:

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -