<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I found nothing wrong with the file, and the fact that it shows the
features indicates that it works correctly.<br>
I just remembered a few things:<br>
1. In a previous version of MapGuide, tooltips would only show on
selectable layers<br>
2. There exists a flag called "hastooltips" in the runtime layer. I'm
not sure that you can get to it easily though.<br>
3. The point used for the tooltip is IIRC 2 'units' in each direction. <br>
If a map is in meters and the width is 10000 km, some pixels are not
being mapped, and cannot display tooltips.<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth Skovhede, GEOGRAF A/S
</pre>
<br>
<br>
gracecwl skrev:
<blockquote cite="mid:18973959.post@talk.nabble.com" type="cite">
<pre wrap="">Hi Kenneth,
I trace down the code, i realise that the value of ResourceID is assigned
somewhere in the code. Therefore, i have no problem display the temporary
layer.
But so far, do you find out any problem with my .xml code which cause the
tooltip cant be showed?FYI, i more my cursor almost whole piece of my
'marker' but stil nothing show.
thanks for your helpfulness
regards,
grace
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">What do you mean you don't fill it out?
When you create a temporary featuresource, it gets an id like
"Session:xxxx-yyyy//temp.FeatureSource".
You must insert that name into the resourceID tag, otherwise it won't
show.
Can you display the features if there is no tooltip ?
If yes, keep in mind that you have to REALLY precise to hit the correct
pixel before the tooltip shows on a point.
Regards, Kenneth Skovhede, GEOGRAF A/S
gracecwl skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Kenneth,
I no fill out resourceID because i create new 'temporary layer' like in
sheboygan example.
I have try with column name but still same problem- no output.
I cant try with load the layer manually, since that is a new temporary
layer.However, i try the tooltip state ment in manual load without any
problem.
thanks and regards,
grace
Kenneth Skovhede, GEOGRAF A/S wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I assume you fill out the resourceID somehow.
Although it should work with just a string constant, have you tried with
a column name?
I'm not sure if tooltips work on data with no primary key, have you
tried it on data where there is a primary key?
If you try to load the layer manually, and open it in Studio or Maestro,
with a real data source, does that work then?
Regards, Kenneth Skovhede, GEOGRAF A/S
gracecwl skrev:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I try the method suggested, however, i cant get the desired output.
May i know what happen. attached is my .xml file.
<a class="moz-txt-link-freetext" href="http://www.nabble.com/file/p18937171/parcelmarker.xml">http://www.nabble.com/file/p18937171/parcelmarker.xml</a> parcelmarker.xml
Farah-2 wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi..!
It is possible to create tooltips for the pushpin markers. All u need
to
do
is modify your layer xml file.
You need to add:
<ToolTip> Property Name</ToolTip>
In your layer.xml file.
Regards
Farah
-----Original Message-----
From: Kencana [<a class="moz-txt-link-freetext" href="mailto:bluesky_dyx@hotmail.com">mailto:bluesky_dyx@hotmail.com</a>]
Sent: Monday, November 06, 2006 8:45 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:users@mapguide.osgeo.org">users@mapguide.osgeo.org</a>
Subject: [mapguide-users] Tooltip on the marker
hi all,
is that possible to create tooltip for the markers(push pin) just like
when
we add a tooltip features on a layer using mapguide studio?
I am looking forward for the reply and thank you for the guidance..
Regards,
Kencana
--
View this message in context:
<a class="moz-txt-link-freetext" href="http://www.nabble.com/Tooltip-on-the-marker-tf2580163.html#a7192696">http://www.nabble.com/Tooltip-on-the-marker-tf2580163.html#a7192696</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@mapguide.osgeo.org">users-unsubscribe@mapguide.osgeo.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-help@mapguide.osgeo.org">users-help@mapguide.osgeo.org</a>
---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@mapguide.osgeo.org">users-unsubscribe@mapguide.osgeo.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-help@mapguide.osgeo.org">users-help@mapguide.osgeo.org</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<pre wrap="">_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>