hi
Its possible to add user controls on the map ie... whether we can add text box button over xamwebmap.if any one know means pls guide me
Do you mean hovering over the map at specific coordinates? Or do you mean hovering over a specific element? Or do you mean positioned in a map layer?
-Graham
Hi,
Hovering over the specific element. Is it possible. If so please give some link for online tutorials
Would this value template functionality fit the bill then: http://help.infragistics.com/Help/NetAdvantage/DV/2009.2/CLR3.5/html/SL_DV_xamWebMap_Customize_xamWebMap_with_Value_Templates.html
You can put whatever controls you want in the value template, and they have access to bind to the "Value" attribute for the element.
Hi
Its working fine. I need to put user control on particular element let say i have a plant map in that lot of boilers are there say b1,b2,b3. the thing is i want to put that user control at any one the boiler how can i do this. Say for example i want to load a data grid on boiler b1 to show its data at one time and on b2 at some other time.
Please see if the attached sample I made helps you. It uses a template selection pattern to select the correct datatemplate based on the data associated with the map element. And it uses attached properties to associated a non double value with the map elements.
see: http://community.infragistics.com/forums/p/39158/226833.aspx#226833
Hi Graham
When i use data template to load grid over map element how can i bind different data source to grid from SQL database. whether i always need to have a class that extends observablecollection to bind data to grid. If i want to bind different data whether need to have as much classes which extends the observablecollection. I don't know how to do this. Can you please help me in this. And i have doubt that how to bind data to grid as well as chart in same time that added using data template. It will be more helpful if i get working sample for this.
Ya the elements are visible again if i zoom in or zoom out...
Are they visible again if you zoom in further?
Great work really working nice.... but the problem is now when i pan the map some elements are not visible if i do zoom in or zoom out only its coming to visible if i do the code suggested by you.
you can see the difference in the following two snapshots
before pan
after pan(in selected area some elements are missing)