[mapguide-users] Working with labels in map viewer

mighty_duck msiljegovic at gmail.com
Thu Aug 20 08:19:50 EDT 2009


Hello, 

thanks for reply

so, does that mean , for example, that I can keep coordinates of label in
database and use them when I want to show labels on map? And if I would like
to be able to change position of those labels...I would need to implement my
own "labeling" depending on the coordinates from database???

Im using AJAX viewer.

regards



Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> You have very little control over labels, they are automatically placed 
> on top of the objects the label.
> You have some offset and rotation, but it is difficult to use for 
> absolute positioning.
> 
> I would recommend that you use points (in same datasource or seperate) 
> and use those to
> position the labels correctly.
> 
> There are no interactive editing of labels or features in the AJAX viewer.
> If you use OpenLayers (or Fusion), you could extract the points
> as a vector layer, which can then be manipulated and has mouse events.
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> mighty_duck skrev:
>> Hello,
>>
>> Does anyone know is it possible to work with labels im map viewer? I need
>> something like be able to move labels on the map with mouse moving(catch
>> label with mouse and change location of label)? Is is possible to do with
>> javascript?
>>
>> thanks in advance
>>
>> regards
>>   
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Working-with-labels-in-map-viewer-tp3478397p3478656.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list