Use hyperlinks in custom properties

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

Use hyperlinks in custom properties

帖子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?
头像
luciano
★★
 
帖子: 7
注册: 2017-05-26 8:50

Re: Use hyperlinks in custom properties

帖子Zax » 2017-05-27 13:11

luciano 写道: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
头像
Zax
★★★★★
 
帖子: 1207
注册: 2011-07-27 0:54


回到 Map Plus - Forums

cron