[mapguide-users] Tooltip on the marker

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Aug 13 03:01:26 EDT 2008


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:
> 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:
>   
>> 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:
>>     
>>> Hi all,
>>>
>>> I try the method suggested, however, i cant get the desired output. 
>>> May i know what happen. attached is my .xml file.
>>>
>>>
>>>
>>>
>>> http://www.nabble.com/file/p18937171/parcelmarker.xml parcelmarker.xml 
>>>
>>> Farah-2 wrote:
>>>   
>>>       
>>>> 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 [mailto:bluesky_dyx at hotmail.com] 
>>>> Sent: Monday, November 06, 2006 8:45 AM
>>>> To: users at mapguide.osgeo.org
>>>> 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:
>>>> http://www.nabble.com/Tooltip-on-the-marker-tf2580163.html#a7192696
>>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>>>> For additional commands, e-mail: users-help at mapguide.osgeo.org
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
>>>> For additional commands, e-mail: users-help at mapguide.osgeo.org
>>>>
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080813/b895f660/attachment.html


More information about the mapguide-users mailing list