[mapguide-users] Tooltip on the marker

gracecwl gracecwl at sains.com.my
Wed Aug 13 20:48:20 EDT 2008


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:
> 
> 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
>>>
>>>
>>>     
>>
>>   
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Tooltip-on-the-marker-tp7192696p18973959.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list