Angular controller

controller source

Methods

getShareUrl -> String

Select right share Url based on shareLink property (either Permalink Url or PureMap url)

Returns

TypeDescription
String

Right share Url

invalidateShareUrl

Set share Url state invalid

setShareType -> String

Returns

TypeDescription
String

type

shareOnSocial (provider)

Create share post on selected social network

Parameters

NameTypeDescription
provider String

Social network provider for sharing

updateEmbedCode -> String

Create Iframe tag for embeded map

Returns

TypeDescription
String

Iframe tag with src attribute on embed Url and default width and height (1000x700px)