Hyperlink

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Hyperlink

by Hendra Darmawan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi all,

Is there any way that I can display a point layer, having a hyperlink to a certain URL?
I've used ESRI ArcView long ago, and recalled that it could have a point layer that displays picture when each point was clicked.

Cheers,
 
Hendra 



New Email names for you!
Get the Email name you've always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
_______________________________________________
Chameleon mailing list
Chameleon@...
http://lists.maptools.org/mailman/listinfo/chameleon

Re: Hyperlink

by nsavard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hendra Darmawan wrote:
> Hi all,
>
> Is there any way that I can display a point layer, having a hyperlink to a certain URL?
> I've used ESRI ArcView long ago, and recalled that it could have a point layer that displays picture when each point was clicked.
>
>  
Hendra,

Just an idea.

You could use the Maptips widget by modifying the GenerateImageMap()
function in MapTips.widget.php to set the href variable to
"$href='href="'.$this->mszLinkURL.$this->mszLinkUniqueIDValue.'" ';".  
The $this->mszLinkURL variable value is the value you enter in the "Link
URL" field of the MapTips popup window, which could be a relative URL to
your application (e.g. "images/").  The "$this->mszLinkUniqueIDValue" is
deduced from "$this->mszLinkUniqueID" which is the value you select in
the second "Link URL" field.  You will need to loop through the
attribute values to find out the value of the attribute pointed out by
$this->mszLinkUniqueID" variable.

Norm

_______________________________________________
Chameleon mailing list
Chameleon@...
http://lists.maptools.org/mailman/listinfo/chameleon