Use hyperlinks in custom properties

Map Plus helps, usage, issues, bug report, downloads...

Use hyperlinks in custom properties

Postby luciano » 2017-05-27 8:38

Is it possible to insert live hyperlinks into a custom property field? For example, let's say I have a field in custom properties called 'web link' and I insert 'www.google.com'. When I click on 'www.google.com' can I have Map Plus open up www.google.com in a web browser such as Safari?
User avatar
luciano
★★
 
Posts: 7
Joined: 2017-05-26 8:50

Re: Use hyperlinks in custom properties

Postby Zax » 2017-05-27 13:11

luciano wrote:Is it possible to insert live hyperlinks into a custom property field? For example, let's say I have a field in custom properties called 'web link' and I insert 'www.google.com'. When I click on 'www.google.com' can I have Map Plus open up http://www.google.com in a web browser such as Safari?


Sorry but not supported currently, we may include such function in the next version.

Currently, you can add links in Notes, so that when selected an item(feature) on the map, it would show the link and other web content.

For a simple link, add following text in notes:

<a href="www.google.com">goto google</a>

For a link which refer to a custom property named "GLINK", add following notes:

....
<a href="#" id="link-to-google">goto google</a>
....
<script>
document.getElementById('link-to-google').href = ValueOf('GLINK');
</script>


More details on that: http://www.duweis.com/support/viewdoc.h ... k=050_html
Zax Zeng
Duwei Technology
User avatar
Zax
★★★★★
 
Posts: 1172
Joined: 2011-07-27 0:54


Return to Map Plus - Forums

cron