P Pravin Shah Member Licensed User Longtime User May 27, 2017 #1 Hello, I have added some location using AddMarker in GoogleMap. Now I want that location is shown with it's snippet (marker title) displayed. By default the marker is shown without snippet when map is loaded. When you click on it, it shows the snippet. So what is the method or code to display the snippet by default (please refer to screenshot attached) Also my requirement is to add a button on map. On click of this button, the app should show distance and direction in googlemap. The googlemap has this in-built functionality when you select a marker and click on direction icon, it shows the direction and distance from your current location. So what method or code should be used to achieve this functionality. Attachments Map.jpeg 65.4 KB · Views: 738
Hello, I have added some location using AddMarker in GoogleMap. Now I want that location is shown with it's snippet (marker title) displayed. By default the marker is shown without snippet when map is loaded. When you click on it, it shows the snippet. So what is the method or code to display the snippet by default (please refer to screenshot attached) Also my requirement is to add a button on map. On click of this button, the app should show distance and direction in googlemap. The googlemap has this in-built functionality when you select a marker and click on direction icon, it shows the direction and distance from your current location. So what method or code should be used to achieve this functionality.
DonManfred Expert Licensed User Longtime User May 27, 2017 #2 Pravin Shah said: By default the marker is shown without snippet when map is loaded. When you click on it, it shows the snippet. Click to expand... Code: Dim mark As Marker = gmap.AddMarker(50.83374976,6.44135244, "Hello!!!") mark.InfoWindowShown = True Upvote 0
Pravin Shah said: By default the marker is shown without snippet when map is loaded. When you click on it, it shows the snippet. Click to expand... Code: Dim mark As Marker = gmap.AddMarker(50.83374976,6.44135244, "Hello!!!") mark.InfoWindowShown = True
P Pravin Shah Member Licensed User Longtime User May 28, 2017 #3 DonManfred said: Code: Dim mark As Marker = gmap.AddMarker(50.83374976,6.44135244, "Hello!!!") mark.InfoWindowShown = True Click to expand... Thanks @DonManfred, appreciate your help. Sorry I am traveling at present so took some time to respond. Any idea about my second question? Thanks Upvote 0
DonManfred said: Code: Dim mark As Marker = gmap.AddMarker(50.83374976,6.44135244, "Hello!!!") mark.InfoWindowShown = True Click to expand... Thanks @DonManfred, appreciate your help. Sorry I am traveling at present so took some time to respond. Any idea about my second question? Thanks