.setTypeAsWebLink() / by Bryson Michael

marker.setTypeAsWebLink(url:string,frameTarget:string)

Type: method

Sets the type of the marker to WebLink.

Supported types for frameTarget:

  • _blank = Opens the linked document in a new window or tab.
  • _self = Opens the linked document in the same frame as it was clicked. default
  • _parent = Opens the linked document in the parent frame.
  • _top = Opens the linked document in the full body of the window.
  • framename = Opens the linked document in a named frame.

Return: none
Posted in